has_channel
if (!has_channel(channel_set, chanset_size, ch))
bool has_channel = false;
has_channel = true;
if (has_channel) {