code: def validate_image_path(image_path: str) -> None:
      validate_path(image_path)
      assert is_image_file(
          image_path
      ), f"Image path invalid: {image_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 7 for calling a global function with example usage: validate_image_path(image_path) without return types