code: def default(val, d):
      if exists(val):
          return val
      return d() if isfunction(d) else d
  
imports: import functools
  import importlib
  import os
  from functools import partial
  from inspect import isfunction
  import fsspec
  import numpy
  import torch
  from PIL import Image, ImageDraw, ImageFont
  from safetensors.torch import load_file
label_desc: Use image node_id 15 for calling a global function with example usage: default(val, d) and returns: unknown, val