code: func IsStoredVersion(crd *CustomResourceDefinition, version string) bool {
  	for _, v := range crd.Status.StoredVersions {
  		if version == v {
  			return true
  		}
  	}
  	return false
  }
docs: // IsStoredVersion returns whether the given version is the storage version of the CRD.