code: def gen_mar(model_store=None):
      print(f"## Starting gen_mar: {model_store}\n")
      if len(mar_set) == 0:
          generate_mars(
              mar_config=MAR_CONFIG_FILE_PATH,
              model_store_dir=MODEL_STORE_DIR,
          )
  
      if model_store is not None and os.path.exists(model_store):
          print("## Create symlink for mar files\n")
          for mar_file in mar_set:
              src = f"{MODEL_STORE_DIR}/{mar_file}"
              dst = f"{model_store}/{mar_file}"
              if os.path.exists(dst):
                  print(f"## {dst} already exists.\n")
              else:
                  os.symlink(src, dst)
                  print(f"## Symlink {src}, {dst} successfully.")
  
file_path: serve/ts_scripts/marsgen.py
imports: import argparse
  import json
  import os
  import shutil
  import subprocess
  import sys
  import urllib.request
label_desc: Use image node_id 2 for calling a global function with example usage: gen_mar(model_store) without return types