def __eq__(self, other):
    if (type(self) != type(other)):
        return False
    if (self.table_id != other.table_id):
        return False
    return True
def __eq__(self, other):
    if (type(self) != type(other)):
        return False
    if (self.table_id != other.table_id):
        return False
    return True