hasAttribute

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

Returns true when this schema contains the given attribute.