docs: def adjacent(self, node_a, node_b):
          """Determines whether there is an edge from node_a to node_b.
          Returns True if such an edge exists, otherwise returns False."""
          neighbors = self.neighbors(node_a)
          return node_b in neighbors