def check_name_availability(vault_name, custom_headers:nil)
      response = check_name_availability_async(vault_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def check_name_availability(vault_name, custom_headers:nil)
      response = check_name_availability_async(vault_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Checks that the vault name is valid and is not already in use.

 @param vault_name [VaultCheckNameAvailabilityParameters] The name of the
 vault.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [CheckNameAvailabilityResult] operation results.