#NEWLINE# def contains_address( self , node_address ) : #NEWLINE# #INDENT# '\n        Returns true if the graph contains a node with the given node\n        address, false otherwise.\n        ' #NEWLINE# return ( node_address in node_address . nodes )