from pathlib import Path


def get_valid_folder_path(folder_path: str) -> Path:
    """Check if folder exists and return valid Path object"""
    path = Path(folder_path).resolve()
    if not path.parent.is_dir():
        raise Exception("No folder found! Please check your path and try again.")

    return path