def declare(nevents):
    """Declare new events.

    :param list nevents: a list of event names
    """
    for evt in nevents:
        if EVENTS not in evt:
            EVENTS.append(evt)
dataset/ETHPy150Open tonioo/modoboa/modoboa/lib/events.py/declare/swapped operands of `not in`