attribute

abstract fun attribute(key: Key): Attribute?

Returns an attribute by key, or null if not supported.