code: func (cfg *ChannelCfg) HasCapability(group fab.ConfigGroupKey, capability string) bool {
  	groupCapabilities, ok := cfg.capabilities[group]
  	if !ok {
  		return false
  	}
  	if groupCapabilities[capability] {
  		return true
  	}
  
  	// Special handling for version capabilities: V1_1 is supported if V1_2 or V1_3
  	// are supported; V1_2 is supported if V1_3 is supported, etc.
  	if isVersionCapability(capability) {
  		for c := range groupCapabilities {
  			if isVersionCapability(c) && c > capability {
  				logger.Debugf("[%s] is greater than [%s] and therefore capability is supported", c, capability)
  				return true
  			}
  		}
  	}
  	return false
  }
docs: // HasCapability indicates whether or not the given group has the given capability