code: func CapabilitiesValue(capabilities map[string]bool) *StandardConfigValue {
  	c := &cb.Capabilities{
  		Capabilities: make(map[string]*cb.Capability),
  	}
  
  	for capability, required := range capabilities {
  		if !required {
  			continue
  		}
  		c.Capabilities[capability] = &cb.Capability{}
  	}
  
  	return &StandardConfigValue{
  		key:   CapabilitiesKey,
  		value: c,
  	}
  }
docs: // CapabilitiesValue returns the config definition for a a set of capabilities.
  // It is a value for the /Channel/Orderer, Channel/Application/, and /Channel groups.