def __eq__(self, other):
    return (isinstance(other, Literal) and (other.dtype == self.dtype) and (other.value == self.value))
def __eq__(self, other):
    return (isinstance(other, Literal) and (other.dtype == self.dtype) and (other.value == self.value))