code: def is_content_type(filename: str, content_type: str) -> bool:
      file_type = magic.from_file(filename, mime=True).lower()
      return content_type in file_type
  
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 1 for calling a global function with example usage: is_content_type(filename, content_type) and returns: unknown