code: def _check_zip_path(zip_path: Path, log: LoggerAdapter) -> Path:
      """Check 'zip_path' for correctness."""
  
      zip_path = zip_path.with_suffix(".zip")
  
      if not zip_path.exists():
          message = (
              f'File with the path "{zip_path}" could not be found.'
          )
          log.error(message)
          raise FileNotFoundError(message)
      return zip_path
  
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 3 for calling a global function with example usage: _check_zip_path(zip_path, log) and returns: zip_path