code: func MSPID(cfg fab.EndpointConfig, org string) (string, bool) {
  	networkConfig := cfg.NetworkConfig()
  	//check for nil since any endpointconfig implementation can be passed here
  	if networkConfig == nil {
  		return "", false
  	}
  	// viper lowercases all key maps, org is lower case
  	mspID := networkConfig.Organizations[strings.ToLower(org)].MSPID
  	if mspID == "" {
  		return "", false
  	}
  
  	return mspID, true
  }
docs: // MSPID returns the MSP ID for the requested organization