code: func (a *Agent) purgeCheck(checkID types.CheckID) error {
  	checkPath := filepath.Join(a.config.DataDir, checksDir, checkIDHash(checkID))
  	if _, err := os.Stat(checkPath); err == nil {
  		return os.Remove(checkPath)
  	}
  	return nil
  }
docs: // purgeCheck removes a persisted check definition file from the data dir