'Two rdatasets are equal if they have the same class, type, and
covers, and contain the same rdata.
@rtype: bool'

def __eq__(self, other):

    if (not isinstance(other, Rdataset)):
        return False
    if ((self.rdclass != other.rdclass) or (self.rdtype != other.rdtype) or (self.covers != other.covers)):
        return False
    return super(Rdataset, self).__eq__(other)
