code: def isInt(f):
      try:
          i = int(f)
          if f - i == 0:
              return 1
          else:
              return 0
      except (ValueError, OverflowError):
          return 0
  
imports: from __future__ import print_function
  import os
  import struct
  import sys
  from PIL import Image, ImageFile
label_desc: Use image node_id 1 for calling a global function with example usage: isInt(f) and returns: int, int, int