code: func CheckKernelVersion(k, major, minor int) bool {
  	if v, err := GetKernelVersion(); err != nil {
  		logrus.Warnf("error getting kernel version: %s", err)
  	} else {
  		if CompareKernelVersion(*v, VersionInfo{Kernel: k, Major: major, Minor: minor}) < 0 {
  			return false
  		}
  	}
  	return true
  }
docs: // CheckKernelVersion checks if current kernel is newer than (or equal to)
  // the given version.