docs: public Channel loadChannelFromConfig(String channelName, NetworkConfig networkConfig) throws InvalidArgumentException, NetworkConfigurationException {
          clientCheck();
  
          // Sanity checks
          if (channelName == null || channelName.isEmpty()) {
              throw new InvalidArgumentException("channelName must be specified");
          }
  
          if (networkConfig == null) {
              throw new InvalidArgumentException("networkConfig must be specified");
          }
  
          if (channels.containsKey(channelName)) {
              throw new InvalidArgumentException(format("Channel with name %s already exists", channelName));
          }
  
          return networkConfig.loadChannel(this, channelName);
      }