code: def _validate_video(pytube_video):
      status, messages = pytube.extract.playability_status(
          pytube_video.watch_html
      )
  
      if status is None:
          return None
  
      if not etau.is_container(messages):
          error = messages
      elif messages:
          error = messages[0]
      else:
          error = status
  
      raise ValueError(error)
  
imports: import importlib
  import itertools
  import logging
  import multiprocessing.dummy
  import os
  import numpy
  import eta.core.utils
  import eta.core.video
  import fiftyone.core.utils
label_desc: Use image node_id 8 for calling a global function with example usage: _validate_video(pytube_video) and returns: None