#NEWLINE# def contains_alias( self , namespace , nid ) : #NEWLINE# #INDENT# if ( not self . alias_rows ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return any ( [ row . is_equivalent_alias ( namespace , nid ) for row in self . alias_rows ] )