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