Handler used by vortex_connection_get_channel_by_func which is called to check if the channel provided must be returned as selected.