code: protected function hasChannel($channelName, $channelType)
      {
          $channels = $this->getOption(self::OPTION_CHANNELS);
          return isset($channels[$channelType][$channelName]);
      }
docs: Check whether channel exists
  @param string $channelName
  @param integer $channelType
  @return bool