code: def get_media_type(filepath):
      """Gets the media type for the given filepath.
  
      Args:
          filepath: a filepath
  
      Returns:
          the media type
      """
      if etav.is_video_mime_type(filepath):
          return VIDEO
  
      if filepath.endswith(".pcd"):
          return POINT_CLOUD
  
      return IMAGE
  
imports: import eta.core.video
label_desc: Use image node_id 1 for calling a global function with example usage: get_media_type(filepath) and returns: IMAGE, VIDEO, POINT_CLOUD