def __eq__(self, other):
    c1 = (self.data == other.data)
    c2 = (self.time == other.time)
    c3 = (self.timestamp == other.timestamp)
    return (c1 and c2 and c3)
def __eq__(self, other):
    c1 = (self.data == other.data)
    c2 = (self.time == other.time)
    c3 = (self.timestamp == other.timestamp)
    return (c1 and c2 and c3)