def has_edge(self, u, v):
        try:
            return v in self.adj[u]
        except KeyError:
            return False
Return True if the edge (u,v) is in the graph.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.has_edge