code: def validate_path(file_path: str) -> None:
      correct_type = type(file_path) == str
      path_exists = pathmgr.exists(file_path)
      assert (
          correct_type and path_exists
      ), f"Path is invalid: {file_path}"
  
file_path: AugLy/augly/utils/asserts.py
imports: import os
  from typing import Tuple
  import magic
  from augly.utils.io import pathmgr
label_desc: Use image node_id 5 for calling a global function with example usage: validate_path(file_path) without return types