def activate():
    """
    Activates a global accessible object, where we can save information about
    required dojo modules.
    """
    class Collector:
        used_dojo_modules = []

        def add(self, module):
            # just add a module once!
            if not self.used_dojo_modules in module:
                self.used_dojo_modules.append(module)

    _active.value = Collector()
dataset/ETHPy150Open klipstein/dojango/dojango/util/dojo_collector.py/activate/swapped operands of `in`