def METHOD_NAME(deploy_id: str, boot_id: str = "") -> bool:
    prefix = get_deployment_backup_prefix_path(deploy_id)
    if boot_id != "":
        path = f"{prefix}_{boot_id}"
    else:
        path = f"{prefix}"
    return path_exists(path)