protected function isNameUnique($association)
    {
        $associations = $this->determineAssociationsByName($association->getName());
        return $associations->getAssociations()->count() == 1;
    }