code: func (c *Conn) ExistsBool(index string, _type string, id string, args map[string]interface{}) (bool, error) {
  
  	var url string
  
  	query, err := Escape(args)
  	if err != nil {
  		return false, err
  	}
  
  	if len(_type) > 0 {
  		url = fmt.Sprintf("/%s/%s/%s", index, _type, id)
  	} else {
  		url = fmt.Sprintf("/%s/%s", index, id)
  	}
  
  	req, err := c.NewRequest("HEAD", url, query)
  	if err != nil {
  		return false, err
  	}
  
  	httpStatusCode, _, err := req.Do(nil)
  
  	// RecordNotFound is the expected response for a non-existent document,
  	// so we don't return an error to our caller
  	if err == RecordNotFound {
  		return false, nil
  	}
  
  	return httpStatusCode == http.StatusOK, err
  }
docs: // ExistsBool allows caller to check for the existence of a document using HEAD
  // TODO(shutej): This looks redundant with the Exists function in
  // baserequest.go, check with mattbaird@.