getOrNull

open override fun <T : Any> getOrNull(key: AttributeKey<T>): T?