def act(self):
        key = self.name
        if not key:
            self.warning(logger, 'no valid aggregator name set')
            return
        if monitor.aggregators in key:
            monitor.aggregators[key].clear()
dataset/ETHPy150Open xumiao/pymonk/monk/roles/monitor.py/ResetAggregator.act/swapped operands of `in`