code: def is_video(path: str) -> bool:
      r"""
          Checks if a given path is that of a valid image file
  
      Args:
          path (str): Filepath to check
  
      Returns:
          True; if `path` is a valid image filepath
          False; otherwise
  
      """
      if not isinstance(path, str):
          raise ValueError("path must be a string")
  
      if path.endswith(_acceptable_video_formats):
          return True
  
      return False
  
file_path: caer/caer/path/paths.py
imports: import os
  from time import time
  from ..annotations import List, Union, Optional, Tuple
label_desc: Use image node_id 5 for calling a global function with example usage: is_video(path) and returns: False, True