code: public boolean containsChannel(String channelName) {
          boolean found = false;
          for (int i = 0; i < channels.length; i++) {
              if (channels[i].getName().equals(channelName)) {
                  found = true;
                  break;
              }
          }
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "containsChannel: " + channelName + "=" + found);
          }
          return found;
      }
docs: Check whether this chain contains the input channel name.
  
  @param channelName
  @return boolean