Classes/Service/Url/RealUrlAssociation.php
protected function isNameUnique($association)
    {
        $associations = $this->determineAssociationsByName($association->getName());
        return $associations->getAssociations()->count() == 1;
    }
protected function isNameUnique($association)
    {
        $associations = $this->determineAssociationsByName($association->getName());
        return $associations->getAssociations()->count() == 1;
    }
protected function isNameUnique ( $ association ) { $ associations = $ this -> determineAssociationsByName ( $ association -> getName ( ) ) ; return $ associations -> getAssociations ( ) -> count ( ) == 1 ; }
determine if the association is unique by the name

@param Association $association

@return bool
@throws \Exception
determine if the association is unique by the name