code: def _prepare_initializer(initializer, initargs):
      if initializer is not None and not callable(initializer):
          raise TypeError(
              f"initializer must be a callable, got: {initializer!r}"
          )
  
      # Introspect runtime to determine if we need to propagate the viztracer
      # profiler information to the workers:
      return _chain_initializers(
          [
              (initializer, initargs),
              _make_viztracer_initializer_and_initargs(),
          ]
      )
  
file_path: catboost/contrib/python/joblib/joblib/externals/loky/initializers.py
imports: import warnings
label_desc: Use image node_id 4 for calling a global function with example usage: _prepare_initializer(initializer, initargs) and returns: _chain_initializers