code: func (ipc InPathCheck) Check() (warnings, errs []error) {
  	klog.V(1).Infof("validating the presence of executable %s", ipc.executable)
  	_, err := ipc.exec.LookPath(ipc.executable)
  	if err != nil {
  		if ipc.mandatory {
  			// Return as an error:
  			return nil, []error{errors.Errorf("%s not found in system path", ipc.executable)}
  		}
  		// Return as a warning:
  		warningMessage := fmt.Sprintf("%s not found in system path", ipc.executable)
  		if ipc.suggestion != "" {
  			warningMessage += fmt.Sprintf("\nSuggestion: %s", ipc.suggestion)
  		}
  		return []error{errors.New(warningMessage)}, nil
  	}
  	return nil, nil
  }
docs: // Check validates if the given executable is present in the path.