code: def _add_to_submit_args(to_add):
      """Add string s to the PYSPARK_SUBMIT_ARGS env var"""
      existing_args = os.environ.get("PYSPARK_SUBMIT_ARGS", "")
      if not existing_args:
          # if empty, start with default pyspark-shell
          # ref: pyspark.java_gateway.launch_gateway
          existing_args = "pyspark-shell"
      # add new args to front to avoid insert after executable
      submit_args = "{} {}".format(to_add, existing_args)
      os.environ["PYSPARK_SUBMIT_ARGS"] = submit_args
      return submit_args
  
file_path: findspark/findspark.py
imports: from glob import glob
  import os
  import sys
label_desc: Use image node_id 5 for calling a global function with example usage: _add_to_submit_args(to_add) and returns: submit_args