code: func (a *Agent) snapshotCheckState() map[types.CheckID]*structs.HealthCheck {
  	return a.State.Checks()
  }
docs: // snapshotCheckState is used to snapshot the current state of the health
  // checks. This is done before we reload our checks, so that we can properly
  // restore into the same state.