code: def verify_image(fn):
      "Confirm that `fn` can be opened"
      try:
          im = Image.open(fn)
          im.draft(im.mode, (32, 32))
          im.load()
          return True
      except:
          return False
  
file_path: fastai/fastai/vision/utils.py
imports: from __future__ import annotations
  import uuid
  from ..torch_basics import *
  from ..data.all import *
  from .core import *
  from fastdownload import download_url
  from pathlib import Path
label_desc: Use image node_id 5 for calling a global function with example usage: verify_image(fn) and returns: True, False