def check_name_availability(check_name_availability_request, custom_headers:nil)
      response = check_name_availability_async(check_name_availability_request, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def check_name_availability(check_name_availability_request, custom_headers:nil)
      response = check_name_availability_async(check_name_availability_request, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Checks if the specified management group name is valid and unique

 @param check_name_availability_request [CheckNameAvailabilityRequest]
 Management group name availability check parameters.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [CheckNameAvailabilityResult] operation results.