def __check_conditional(conf_dict):
    passes = True
    try:
        if conf_dict in "if":
            value = conf_dict["if"]
            passes = _read_boolean(env, value, False)
        elif "unless" in conf_dict:
            value = conf_dict["unless"]
            passes = not _read_boolean(env, value, False)
    except TypeError:
        # configuration is not a dictionary, default to True
        pass
    return passes
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/galaxy/tools.py/__check_conditional/swapped operands of `in`