code: def _is_image_file(filename):
      return any(
          filename.endswith(extension) for extension in IMG_EXTENSIONS
      )
  
imports: import fnmatch
  import os
  import os.path
  import random
  import warnings
  import numpy
  import tqdm
label_desc: Use image node_id 14 for calling a global function with example usage: _is_image_file(filename) and returns: any