def __contains__(self,n):
        try:
            return n in self.node
        except TypeError:
            return False
Return True if n is a node, False otherwise. Use the expression
dataset/ETHPy150Open networkx/networkx/networkx/classes/tests/timingclasses.py/TimingGraph.__contains__