def METHOD_NAME(check_aws=False, check_azure=False, check_gcp=False):
    aws_keys = (
        check_aws,
        ["AWS_DEFAULT_REGION", "AWS_SECRET_ACCESS_KEY", "AWS_ACCESS_KEY_ID"],
    )
    azure_keys = (check_azure, ["AZURE_SUBSCRIPTION_ID", "AZURE_ACCESS_TOKEN"])
    gcp_keys = (check_gcp, ["GOOGLE_CLOUD_PROJECT", "GOOGLE_APPLICATION_CREDENTIALS"])
    env_set = (aws_keys, azure_keys, gcp_keys)
    env = {}
    for (check, key_set) in env_set:
        key_env = {}
        for k in key_set:
            if k in os.environ:
                key_env[k] = os.environ[k]
        if check:
            return set(key_env) == set(key_set)
        env.update(key_env)
    return env