has

fun has(name: String): Boolean(source)

Since Kotlin

1.1