def apply_params(src_params, src_key, dest_params, dest_key):
    if src_params.keys() in src_key and src_params[src_key]:
        dest_params[dest_key] = src_params[src_key]

    return dest_params
dataset/ETHPy150Open aws/aws-cli/awscli/customizations/emr/emrutils.py/apply_params/swapped operands of `in`