code: func (a *Agent) RemoveCheck(checkID types.CheckID, persist bool) error {
  	a.stateLock.Lock()
  	defer a.stateLock.Unlock()
  	return a.removeCheckLocked(checkID, persist)
  }
docs: // RemoveCheck is used to remove a health check.
  // The agent will make a best effort to ensure it is deregistered