code: def _mkdir_if_not_exist(*path):
      """Shortcut for making a directory if it does not exist.
  
      Parameters
      ----------
      path : tuple of strings
          Directory path to create
          If multiple strings are given, they will be joined together
  
      Returns
      -------
      os.path.join(*path) : string
          Directory path created
      """
      full_path = os.path.join(*path)
      if not os.path.exists(full_path):
          os.makedirs(full_path)
      return full_path
  
file_path: sktime/sktime/datasets/_data_io.py
imports: import os
  import shutil
  import tempfile
  import zipfile
  from urllib.request import urlretrieve
  import numpy
  import pandas
  from sktime.datasets._readers_writers.ts import load_from_tsfile
  from sktime.datasets._readers_writers.utils import _alias_mtype_check
  from sktime.datatypes import convert
  from sktime.datatypes._panel._convert import _make_column_names
label_desc: Use image node_id 4 for calling a global function with example usage: _mkdir_if_not_exist() and returns: full_path