def __eq__(self, other):
        #
        # This is inefficient.  Good thing we don't need to do it much.
        #
        for rd in self.rdatasets:
            if rd not in other.rdatasets:
                return False
        for rd in other.rdatasets:
            if rd not in self.rdatasets:
                return False
        return True
Two nodes are equal if they have the same rdatasets.
dataset/ETHPy150Open catap/namebench/nb_third_party/dns/node.py/Node.__eq__