code: def check_mkdir(dir_name):
      """
      Delegates to mkdir_p and is kept around for legacy support
      :param dir_name:
      :return:
      """
      mkdir_p(dir_name)
  
file_path: pywick/pywick/misc.py
imports: from enum import Enum, auto
  import errno
  import random
  import os
  import numpy
  import torch
label_desc: Use image node_id 6 for calling a global function with example usage: check_mkdir(dir_name) without return types