code: func (client *Client) CheckRoute(route Route) (bool, Warnings, error) {
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.GetRouteReservedRequest,
  		URIParams:   map[string]string{"domain_guid": route.DomainGUID},
  	})
  	if err != nil {
  		return false, nil, err
  	}
  
  	queryParams := url.Values{}
  	if route.Host != "" {
  		queryParams.Add("host", route.Host)
  	}
  	if route.Path != "" {
  		queryParams.Add("path", route.Path)
  	}
  	if route.Port.IsSet {
  		queryParams.Add("port", fmt.Sprint(route.Port.Value))
  	}
  	request.URL.RawQuery = queryParams.Encode()
  
  	var response cloudcontroller.Response
  	err = client.connection.Make(request, &response)
  	if _, ok := err.(ccerror.ResourceNotFoundError); ok {
  		return false, response.Warnings, nil
  	}
  
  	return response.HTTPResponse.StatusCode == http.StatusNoContent, response.Warnings, err
  }
docs: // CheckRoute returns true if the route exists in the CF instance.