parameters: (self, first_entity_name, second_entity_name)
return_statement: return second_entity_name in alias_set
docstring: Return true if the two entity names are equivalent (aliases of each other).
docstring_summary: Return true if the two entity names are equivalent (aliases of each other).
docstring_tokens: Return true if the two entity names are equivalent ( aliases of each other ) .
function: def areAliases(self, first_entity_name, second_entity_name):
          """Return true if the two entity names are equivalent (aliases of each other)."""
          alias_set = self._aliasSetsByEntity.get(first_entity_name)
          if not alias_set:
              # If this assert fails, we have goofed in addAlias
              assert(second_entity_name not in self._aliasSetsByEntity)
  
              return False
  
          return second_entity_name in alias_set
function_tokens: def areAliases ( self , first_entity_name , second_entity_name ) : alias_set = self . _aliasSetsByEntity . get ( first_entity_name ) if not alias_set : # If this assert fails, we have goofed in addAlias assert ( second_entity_name not in self . _aliasSetsByEntity ) return False return second_entity_name in alias_set