<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_adjacent(self, another_edge):
 """Check if two edges are adjacent. Args: :param another_edge: edge object of another edge :type another_edge: edge object This function will return true if the two edges are adjacent. """

        return (
            self.L == another_edge.L
            or self.L == another_edge.R
            or self.R == another_edge.L
            or self.R == another_edge.R
        )