code: def checkBounds(min, max):
      def decorator(func):
          def wrapper(*args, **kargs):
              offspring = func(*args, **kargs)
              for child in offspring:
                  for i in range(len(child)):
                      if child[i] > max:
                          child[i] = max
                      elif child[i] < min:
                          child[i] = min
              return offspring
  
          return wrapper
  
      return decorator
  
label_desc: Use image node_id 1 for calling a global function with example usage: checkBounds(min, max) and returns: decorator, wrapper, offspring