code: def create_dir(out_dir):
      """Creates new directory if it doesn't already exist"""
      if not os.path.exists(out_dir):
          print(f"Creating {out_dir}")
          os.makedirs(out_dir)
  
file_path: H2O/h2o_hf/helm/scripts/fact_completion/utils.py
imports: import os
  import json
  from typing import Iterator, Dict, List
  import pandas
  from pathlib import Path
label_desc: Use image node_id 5 for calling a global function with example usage: create_dir(out_dir) without return types