def is_graph_isomorphic(self):
    'Returns True if all nodes have closed paths that preserve the data, False otherwise'
    out = True
    for node in self.node_names:
        self.move_to_node(node)
        if (not self.check_closed_path):
            out = False
    return out
Returns True if all nodes have closed paths that preserve the data, False otherwise
def is_graph_isomorphic(self):
    
    out = True
    for node in self.node_names:
        self.move_to_node(node)
        if (not self.check_closed_path):
            out = False
    return out