code: def is_integer(s):
      try:
          int(s)
          return True
      except ValueError:
          return False
      except TypeError:
          return False
  
imports: from itertools import product
  import numpy
  from operator import itemgetter
  from scipy.ndimage import find_objects
label_desc: Use image node_id 1 for calling a global function with example usage: is_integer(s) and returns: True, False, False