code: def is_image_file(filename):
      filename_lower = filename.lower()
      return any(
          filename_lower.endswith(extension)
          for extension in IMG_EXTENSIONS
      )
  
file_path: pfe-net/util/dataset.py
imports: import os
  import os.path
  import cv2
  import numpy
  from torch.utils.data import Dataset
  import torch.nn.functional
  import torch
  import random
  import time
  from tqdm import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: is_image_file(filename) and returns: any