'if channel out direct exist'

def is_exist_out_direct(self, out_direct, channel_id):

    if (not self.channel_direct_info):
        return False
    for id2name in self.channel_direct_info['channelDirectInfos']:
        if ((id2name['icOutDirect'] == out_direct) and (id2name['icCfgChnlId'] == channel_id)):
            return True
    return False
