code: def is_shape_tuple(x):
      if isinstance(x, (list, tuple)):
          if all(isinstance(e, (int, type(None))) for e in x):
              return True
      return False
  
label_desc: Use image node_id 1 for calling a global function with example usage: is_shape_tuple(x) and returns: False, True