def __eq__(self, other):
        return other and self.__class__ is other.__class__ and\
        self.subqueries == other.subqueries and\
        self.boost == other.boost
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/CompoundQuery.__eq__/original