code: func (s *SeesawEngine) HAState(args *ipc.HAState, reply *int) error {
  	if args == nil {
  		return errors.New("args is nil")
  	}
  	ctx := args.Ctx
  	s.trace("HAState", ctx)
  	if ctx == nil {
  		return errors.New("context is nil")
  	}
  
  	if !ctx.IsTrusted() {
  		return errors.New("insufficient access")
  	}
  
  	s.engine.setHAState(args.State)
  	return nil
  }
docs: // HAState advises the Engine of the current high-availability state as
  // determined by the Seesaw HA component.