code: def _persistent_load(persid, env):
      if persid == AssetFinder.PERSISTENT_TOKEN:
          return env.asset_finder
      if persid == TradingEnvironment.PERSISTENT_TOKEN:
          return env
  
file_path: catalyst/catalyst/utils/serialization_utils.py
imports: from six import BytesIO
  import pickle
  from functools import partial
  from catalyst.assets import AssetFinder
  from catalyst.finance.trading import TradingEnvironment
label_desc: Use image node_id 2 for calling a global function with example usage: _persistent_load(persid, env) and returns: env, env