<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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