code: func HasPerVersionSubresources(versions []CustomResourceDefinitionVersion) bool {
  	for _, v := range versions {
  		if v.Subresources != nil {
  			return true
  		}
  	}
  	return false
  }
docs: // HasPerVersionSubresources returns true if a CRD uses per-version subresources.