def validate_deprecated_args(argv, fn):
    if (len(argv) > 3
       and (argv[2] == fn.__name__)
       and getattr(fn, "deprecated_args", None)):
        for item in fn.deprecated_args:
            if argv[3:] in item:
                LOG.warning("Deprecated argument %s for %s." % (item,
                                                                fn.__name__))
dataset/ETHPy150Open openstack/rally/rally/cli/cliutils.py/validate_deprecated_args/swapped operands of `in`