code: def create_ctx(local, context_name):
      from fate.arch import Context
      from fate.arch.computing.backends.standalone import CSession
      from fate.arch.federation.backends.standalone import (
          StandaloneFederation,
      )
      import logging
  
      # prepare log
      logger = logging.getLogger()
      logger.setLevel(logging.INFO)
      console_handler = logging.StreamHandler()
      console_handler.setLevel(logging.INFO)
      formatter = logging.Formatter(
          "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
      )
      console_handler.setFormatter(formatter)
      logger.addHandler(console_handler)
      # init fate context
      computing = CSession()
      return Context(
          computing=computing,
          federation=StandaloneFederation(
              computing, context_name, local, [guest, host_0, host_1]
          ),
      )
  
file_path: FATE/python/fate/ml/ensemble/algo/secureboost/test/test_hetero_sbt_binary_multi_host.py
imports: import pandas
  from fate.arch.dataframe import PandasReader
  import sys
  from fate.ml.ensemble.algo.secureboost.hetero.guest import HeteroSecureBoostGuest
  from fate.ml.ensemble.algo.secureboost.hetero.host import HeteroSecureBoostHost
  from datetime import datetime
label_desc: Use image node_id 2 for calling a global function with example usage: create_ctx(local, context_name) and returns: Context