has

fun has(key: K): Boolean(source)

Returns true when the map contains key.