code: def checkStrategy(minstrategy):
      def decorator(func):
          def wrappper(*args, **kargs):
              children = func(*args, **kargs)
              for child in children:
                  for i, s in enumerate(child.strategy):
                      if s < minstrategy:
                          child.strategy[i] = minstrategy
              return children
  
          return wrappper
  
      return decorator
  
file_path: deap/examples/es/fctmin.py
imports: import array
  import random
  import numpy
  from deap import algorithms
  from deap import base
  from deap import benchmarks
  from deap import creator
  from deap import tools
label_desc: Use image node_id 2 for calling a global function with example usage: checkStrategy(minstrategy) and returns: decorator, wrappper, children