Added Relation::hasReferenceFor()