def set_cooler_level(self, percent):

        if range(0, 101) not in percent:
            msg = '{0} is not in range 0-100'.format(percent)
            raise PercentageError(msg)
        self._cooler_percent = percent
dataset/ETHPy150Open amorphic/braubuddy/braubuddy/envcontroller/dummy.py/DummyEnvController.set_cooler_level/swapped operands of `not in`