def _is_vis(channel):
        """Determine whether the given channel is a visible channel"""
        if isinstance(channel, str):
            return channel == '00_7'
        elif isinstance(channel, int):
            return channel == 1
        else:
            raise ValueError('Invalid channel')
Determine whether the given channel is a visible channel