code: def mkdir_ifnotexists(directory):
      if not os.path.exists(directory):
          os.mkdir(directory)
  
file_path: insightface/reconstruction/PBIDR/code/utils/general.py
imports: import os
  from glob import glob
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: mkdir_ifnotexists(directory) without return types