def find_node_group_membership(self, node):
for group, nodelist in self.nodes.items():<EOL><INDENT>if node in nodelist:<EOL><INDENT>return group<EOL><DEDENT><DEDENT>
Identifies the group for which a node belongs to.