'Two JIDs are equal if they have the same full JID value.'

def __eq__(self, other):

    if isinstance(other, UnescapedJID):
        return False
    other = JID(other)
    return (self._jid == other._jid)
