code: func (op *Operator) AutopilotCASConfiguration(conf *AutopilotConfiguration, q *WriteOptions) (bool, error) {
  	r := op.c.newRequest("PUT", "/v1/operator/autopilot/configuration")
  	r.setWriteOptions(q)
  	r.params.Set("cas", strconv.FormatUint(conf.ModifyIndex, 10))
  	r.obj = conf
  	_, resp, err := requireOK(op.c.doRequest(r))
  	if err != nil {
  		return false, err
  	}
  	defer resp.Body.Close()
  
  	var buf bytes.Buffer
  	if _, err := io.Copy(&buf, resp.Body); err != nil {
  		return false, fmt.Errorf("Failed to read response: %v", err)
  	}
  	res := strings.Contains(buf.String(), "true")
  
  	return res, nil
  }
docs: // AutopilotCASConfiguration is used to perform a Check-And-Set update on the
  // Autopilot configuration. The ModifyIndex value will be respected. Returns
  // true on success or false on failures.