The code tested two values to see if they were present, and if they
were, and were equal, then it returned this node. If either were
missing then this node was still returned because it matched the more
limited criteria that had already been tested. So the test for
returning this node can more simply be if either value to compare is
missing, or they're (both present and) equal.