code: def check_existing_path(path: str):
      if not os.path.exists(path):
          os.makedirs(path)
  
imports: import os
  from abc import ABC, abstractmethod
  from io import BytesIO
  from typing import Any, Optional, Union
  import joblib
  import numpy
  from golem.core.log import default_log
  from fedot.core.pipelines.node import PipelineNode
label_desc: Use image node_id 1 for calling a global function with example usage: check_existing_path(path) without return types