'if channel id exist'

def is_exist_channel_id_name(self, channel_id, channel_name):

    if (not self.channel_info):
        return False
    for id2name in self.channel_info['channelInfos']:
        if ((id2name['icChnlId'] == channel_id) and (id2name['icChnlCfgName'] == channel_name)):
            return True
    return False
