code: def _get_license(comment_mark):
      if comment_mark == "*":
          body = "/*\n"
      else:
          body = ""
      for l in _LICENSE.split("\n"):
          if comment_mark == "*":
              body += " "
          body += comment_mark
          if len(l):
              body += " " + l
          if comment_mark == "<!---":
              body += " -->"
          body += "\n"
  
      if comment_mark == "*":
          body += " */\n"
      body += "\n"
      return body
  
imports: import re
  import os
  import argparse
  from itertools import chain
  import logging
  import sys
  import subprocess
label_desc: Use image node_id 6 for calling a global function with example usage: _get_license(comment_mark) and returns: body