code: def get_spark_context():
      from pyspark import SparkContext
  
      if SparkContext._active_spark_context is not None:
          return SparkContext.getOrCreate()
      else:
          raise Exception(
              "No active SparkContext. Please create a SparkContext first"
          )
  
imports: import os
  from zoo import ZooContext
label_desc: Use image node_id 1 for calling the OrcaContext obj's underlying member method code with example usage: obj.get_spark_context() and returns: SparkContext