code: func (s *SeesawEngine) HAUpdate(args *ipc.HAStatus, failover *bool) error {
  	if args == nil {
  		return errors.New("args is nil")
  	}
  	ctx := args.Ctx
  	s.trace("HAUpdate", ctx)
  	if ctx == nil {
  		return errors.New("context is nil")
  	}
  
  	if !ctx.IsTrusted() {
  		return errors.New("insufficient access")
  	}
  
  	s.engine.setHAStatus(args.Status)
  	if failover != nil {
  		*failover = s.engine.haManager.failover()
  	}
  	return nil
  }
docs: // HAUpdate advises the Engine of the current high-availability status for
  // the Seesaw HA component. The Seesaw Engine may also request a failover
  // in response.