'Two zones are equal if they have the same origin, class, and
nodes.
@rtype: bool'

def __eq__(self, other):

    if (not isinstance(other, Zone)):
        return False
    if ((self.rdclass != other.rdclass) or (self.origin != other.origin) or (self.nodes != other.nodes)):
        return False
    return True
