<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def equals(self,junc):
 """test equality with another junction"""

    if self.left.equals(junc.left): return False
    if self.right.equals(junc.right): return False
    return True