code: def has_image_ext(fname: str) -> bool:
      return has_ext(fname, COMMON_IMAGE_EXTENSIONS)
  
file_path: pytorch-toolbelt/pytorch_toolbelt/utils/fs.py
imports: import glob
  import os
  from pathlib import Path
  from typing import Union, List, Iterable
  import cv2
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: has_image_ext(fname) and returns: has_ext