Added support for checking if an attributeDefinition is used to define an attributeInstance.
Merge remote-tracking branch 'origin/master'