code: def is_image(input):
      try:
          img = Image.open(input)
          _ = img.size
  
          return True
      except:
          return False
  
imports: import base64
  import os
  import sys
  import cv2
  import numpy
  import paddle
  import paddle.nn
  from PIL import Image
label_desc: Use image node_id 12 for calling a global function with example usage: is_image(input) and returns: True, False