code: func (cfg *MockChannelCfg) HasCapability(group fab.ConfigGroupKey, capability string) bool {
  	capabilities, ok := cfg.MockCapabilities[group]
  	if !ok {
  		return false
  	}
  	return capabilities[capability]
  }
docs: // HasCapability indicates whether or not the given group has the given capability