code: def new_style_executor(runner):
      if runner is None:
          return default_new_style_executor
      if isinstance(runner, ConjectureRunner):
          return runner.hypothesis_execute_example_with_data
  
      old_school = executor(runner)
      if old_school is default_executor:
          return default_new_style_executor
      else:
          return lambda data, function: old_school(
              lambda: function(data)
          )
  
file_path: catboost/contrib/python/hypothesis/py2/hypothesis/executors.py
imports: from __future__ import absolute_import, division, print_function
label_desc: Use image node_id 5 for calling a global function with example usage: new_style_executor(runner) and returns: default_new_style_executor, runner, default_new_style_executor, function