code: def _check_for_existing_project(
      absolute_folder_path: Path, zip_path: Path
  ):
      """Check for existing folder and zipfile of project. Create it, if it is no exists."""
      if zip_path.exists():
          message = f'Zipfile with the name "{zip_path}" exists.'
          raise FileExistsError(message)
  
      if absolute_folder_path.exists():
          message = (
              f'Project with the name "{absolute_folder_path}" exists.'
          )
          raise FileExistsError(message)
      else:
          absolute_folder_path.mkdir(parents=True)
  
file_path: FEDOT/fedot/utilities/project_import_export.py
imports: import os
  import shutil
  from pathlib import Path
  from typing import Optional, Tuple, Union
  import golem.core.paths
  from golem.core.log import LoggerAdapter, default_log
  from golem.core.optimisers.opt_history_objects.opt_history import OptHistory
  from fedot.core.data.data import InputData
  from fedot.core.pipelines.pipeline import Pipeline
label_desc: Use image node_id 6 for calling a global function with example usage: _check_for_existing_project(absolute_folder_path, zip_path) without return types