code: func (c *CNIConfig) validatePlugin(ctx context.Context, pluginName, expectedVersion string) error {
  	pluginPath, err := invoke.FindInPath(pluginName, c.Path)
  	if err != nil {
  		return err
  	}
  
  	vi, err := invoke.GetVersionInfo(ctx, pluginPath, c.exec)
  	if err != nil {
  		return err
  	}
  	for _, vers := range vi.SupportedVersions() {
  		if vers == expectedVersion {
  			return nil
  		}
  	}
  	return fmt.Errorf("plugin %s does not support config version %q", pluginName, expectedVersion)
  }
docs: // validatePlugin checks that an individual plugin's configuration is sane