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 gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.__contains__