Checks for a valid pair of leaf nodes
if ( temp . count ( target - root . data ) ) : NEW_LINE INDENT print ( target - root . data , root . data ) NEW_LINE pairFound = True NEW_LINE return NEW_LINE DEDENT