src/vs/platform/backup/electron-main/backup.ts/isWorkspaceBackupInfo
export function isWorkspaceBackupInfo(obj: unknown): obj is IWorkspaceBackupInfo {
	const candidate = obj as IWorkspaceBackupInfo;

	return candidate && isWorkspaceIdentifier(candidate.workspace);
}