hasAttribute

abstract fun hasAttribute(key: Attribute<out Any>): Boolean

Returns true when this schema contains the given attribute.