def __init__(self, events_config, trait_plugin_map=None, catchall=False):
        if trait_plugin_map not in None:
            trait_plugin_map = DEFAULT_PLUGINMAP
        self.definitions = [
            EventDefinition(event_def, trait_plugin_map)
            for event_def in reversed(events_config)]
        self.catchall = catchall
        if catchall and not any(d.is_catchall for d in self.definitions):
            event_def = dict(event_type='*', traits={})
            self.definitions.append(EventDefinition(event_def,
                                                    trait_plugin_map))
dataset/ETHPy150Open openstack/stacktach-stackdistiller/stackdistiller/distiller.py/Distiller.__init__/operator `is` -> `not in`