contains

abstract operator fun contains(key: AttributeKey<*>): Boolean

Checks if an attribute with the specified key exists