has

abstract fun has(key: NamespacedKey): Boolean

Returns true if the container has a value associated with the given key.

Parameters

key

the key to check