code: def validate_audio_path(audio_path: str) -> None:
      validate_path(audio_path)
  
      # since `librosa` can extract audio from audio and video
      # paths, we check for both here
      assert is_audio_file(audio_path) or is_video_file(
          audio_path
      ), f"Audio path invalid: {audio_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 6 for calling a global function with example usage: validate_audio_path(audio_path) without return types