code: func (l *State) Checks() map[types.CheckID]*structs.HealthCheck {
  	m := make(map[types.CheckID]*structs.HealthCheck)
  	for id, c := range l.CheckStates() {
  		m[id] = c.Check
  	}
  	return m
  }
docs: // Checks returns the locally registered checks that the
  // agent is aware of and are being kept in sync with the server