def _is_banned(self, value):
        return value.counter >= self.max_events
If the counter is greater than max allowed events, is banned
dataset/ETHPy150Open biicode/bii-server/rest/bottle_plugins/generic_blocker_bottle_plugin.py/GenericBlockerBottlePlugin._is_banned