def __eq__(self, other):
    return (isinstance(other, AggFilter) and (other.cond == self.cond) and (other.agg_ir == self.agg_ir))
def __eq__(self, other):
    return (isinstance(other, AggFilter) and (other.cond == self.cond) and (other.agg_ir == self.agg_ir))