declares

fun declares(type: AggregateType, attribute: AccessAttribute<*, *>): Boolean

Whether attribute is one type has, as a policy of it may compare it: AccessAttribute.SPACE of every aggregate, AccessAttribute.OWNER of one its owner holds, and a declared one by its name, type and multiplicity.