code: def _cli_spark_session_config_to_dict(spark_session_config):
      config_dict = dict()
  
      if not spark_session_config:
          return config_dict
  
      for config_pair in spark_session_config:
          key_value_split = config_pair.split("=")
          if len(key_value_split) != 2:
              raise ValueError(
                  "Elements of spark_session_config list are expected to be in key=value format. Got: %s",
                  config_pair,
              )
          config_dict[key_value_split[0]] = key_value_split[1]
  
      return config_dict
  
label_desc: Use image node_id 3 for calling a global function with example usage: _cli_spark_session_config_to_dict(spark_session_config) and returns: config_dict, config_dict