def __eq__(self, other):
    return (isinstance(other, SelectFields) and (other.old == self.old) and (other.fields == self.fields))
def __eq__(self, other):
    return (isinstance(other, SelectFields) and (other.old == self.old) and (other.fields == self.fields))