def check_existence_by_id(resource_id, api_version, custom_headers:nil)
      response = check_existence_by_id_async(resource_id, api_version, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def check_existence_by_id(resource_id, api_version, custom_headers:nil)
      response = check_existence_by_id_async(resource_id, api_version, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Checks by ID whether a resource exists.

 @param resource_id [String] The fully qualified ID of the resource, including
 the resource name and resource type. Use the format,
 /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
 @param api_version [String] The API version to use for the operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Boolean] operation results.