def nodeGroupCount(self, dagNode):
        groupCount = 0
        for group in self.nodeGroupDict.values():
            if dagNode in group:
                groupCount += 1
        return groupCount
Returns whether the given node is a member of any group in the DAG.
dataset/ETHPy150Open andrew-gardner/dependsworkflow/depends/depends_dag.py/DAG.nodeGroupCount