code: def check_fingerprint(path):
      path_parts = path.split("/")
      name_parts = path_parts[-1].split(".")
  
      # Check if the resource has a fingerprint
      if len(name_parts) > 2 and cache_regex.match(name_parts[1]):
          original_name = ".".join([name_parts[0]] + name_parts[2:])
          return "/".join(path_parts[:-1] + [original_name]), True
  
      return path, False
  
label_desc: Use image node_id 2 for calling a global function with example usage: check_fingerprint(path) and returns: path,  False, str,  True