code: func (c *MockConfig) PeerConfig(nameOrURL string) (*fab.PeerConfig, bool) {
  
  	if nameOrURL == "invalid" {
  		return nil, false
  	}
  	if c.customPeerCfg != nil {
  		return c.customPeerCfg, true
  	}
  	cfg := fab.PeerConfig{
  		URL: "example.com",
  	}
  	return &cfg, true
  }
docs: // PeerConfig Retrieves a specific peer from the configuration by org and name