def __ne__(self, other):
        if isinstance(other, Contact):
            return self.id != other.id
        elif isinstance(other, str):
            return self.id != other
        else:
            return True
dataset/ETHPy150Open lbryio/lbry/lbrynet/dht/contact.py/Contact.__ne__/original