code: def check_file(file):
      # Searches for file if not found locally
      if os.path.isfile(file):
          return file
      else:
          files = glob.glob("./**/" + file, recursive=True)  # find file
          assert len(files), (
              "File Not Found: %s" % file
          )  # assert file was found
          return files[0]
  
imports: import glob
  import math
  import os
  import random
  import time
  import cv2
  import matplotlib
  import numpy
  import torch
  import torch.nn
  import torchvision
  from tqdm import tqdm
  from build_utils import torch_utils
label_desc: Use image node_id 2 for calling a global function with example usage: check_file(file) and returns: file, files