def __eq__(self, other):
        if isinstance(other, Contact):
            return self.id < other.id
        elif isinstance(other, str):
            return self.id == other
        else:
            return False
dataset/ETHPy150Open lbryio/lbry/lbrynet/dht/contact.py/Contact.__eq__/operator `==` -> `<`