hasAttribute

fun hasAttribute(attClass: KClass<out Attribute>): Boolean

The caller must pass in a Class value. Returns true, iff this AttributeSource contains the passed-in Attribute.