In Kotlin, when basically works with equality in the background, so we can compare objects as long as their types are the same.