code: def mkdir_if_not_exists(path):
      try:
          os.makedirs(path)
      except OSError as e:
          if e.errno != errno.EEXIST:
              raise
  
file_path: hail/hail/python/hailtop/hailctl/dataproc/resources/init_notebook.py
imports: import json
  import os
  import subprocess
  import sys
  import errno
  from subprocess import check_output
label_desc: Use image node_id 3 for calling a global function with example usage: mkdir_if_not_exists(path) without return types