def __init__(self, callbacks=None, callback_valid_names=None):
        self.__callbacks = {}
        self.__callback_valid_names = callback_valid_names
        if not callbacks:
            return
        for name, cbs in callbacks.iteritems():
            if self.__callback_valid_names is None or self.__callback_valid_names in name:
                self.__callbacks[name] = dict([(cb.id, cb) for cb in cbs])
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/utilities/calvin_callback.py/CalvinCBClass.__init__/swapped operands of `in`