def check_existence_at_subscription_scope(deployment_name, custom_headers:nil)
      response = check_existence_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def check_existence_at_subscription_scope(deployment_name, custom_headers:nil)
      response = check_existence_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Checks whether the deployment exists.

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

 @return [Boolean] operation results.