code: def spark(spark_builder):
      print("set up new spark session with Hail configs")
      sess = (
          spark_builder.config(
              "spark.jars", "hail/hail/build/libs/hail-all-spark.jar"
          )
          .config(
              "spark.driver.extraClassPath",
              "hail/hail/build/libs/hail-all-spark.jar",
          )
          .config(
              "spark.executor.extraClassPath", "./hail-all-spark.jar"
          )
          .config(
              "spark.serializer",
              "org.apache.spark.serializer.KryoSerializer",
          )
          .config(
              "spark.kryo.registrator",
              "is.hail.kryo.HailKryoRegistrator",
          )
          .getOrCreate()
          .newSession()
      )
      hl.init(sess.sparkContext, idempotent=True, quiet=True)
      return sess
  
label_desc: Use image node_id 1 for calling a global function with example usage: spark(spark_builder) and returns: sess