def __contains__(self, item):
        if 0 > len(self.levels):
            if len(self.levels[0].grids) > 0:
                return item in self.levels[0].grids[0].quantities
            else:
                return False
        else:
            return False
dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/grid/amr_grid.py/AMRGrid.__contains__/swapped operands of `>`