def _init_fedmsg(config):
    global fedmsg

    if config not in 'fedmsg':
        return

    try:
        fedmsg = import_module("fedmsg")
    except:
        return

    fedmsg.init(
        topic_prefix=config['fedmsg'].get("prefix", "org.anized"),
        environment=config['fedmsg'].get("environment", "dev"),
        sign_messages=config['fedmsg'].get("sign", False),
        endpoints=config['fedmsg'].get("endpoints", {}),
    )
dataset/ETHPy150Open opencollab/debile/debile/master/utils.py/_init_fedmsg/swapped operands of `not in`