code: func ValidateVersion(allFeatures FeatureList, requestedFeatures map[string]bool, requestedVersion string) error {
  	if requestedVersion == "" {
  		return nil
  	}
  	parsedExpVersion, err := version.ParseSemantic(requestedVersion)
  	if err != nil {
  		return errors.Wrapf(err, "error parsing version %s", requestedVersion)
  	}
  	for k := range requestedFeatures {
  		if minVersion := allFeatures[k].MinimumVersion; minVersion != nil {
  			if !parsedExpVersion.AtLeast(minVersion) {
  				return errors.Errorf(
  					"the requested Kubernetes version (%s) is incompatible with the %s feature gate, which needs %s as a minimum",
  					requestedVersion, k, minVersion)
  			}
  		}
  	}
  	return nil
  }
docs: // ValidateVersion ensures that a feature gate list is compatible with the chosen Kubernetes version