code: func (r FutureGetWorkSubmit) Receive() (bool, error) {
  	res, err := receiveFuture(r)
  	if err != nil {
  		return false, err
  	}
  
  	// Unmarshal result as a boolean.
  	var accepted bool
  	err = json.Unmarshal(res, &accepted)
  	if err != nil {
  		return false, err
  	}
  
  	return accepted, nil
  }
docs: // Receive waits for the response promised by the future and returns whether
  // or not the submitted block header was accepted.