class Aws::InstanceProfileCredentials

def empty_credentials?(creds)

def empty_credentials?(creds)
  !creds || !creds.access_key_id || creds.access_key_id.empty?
end