src/vs/platform/windows/electron-main/windowsMainService.ts/isSingleFolderWorkspacePathToOpen
function isSingleFolderWorkspacePathToOpen(path: IPathToOpen | undefined): path is ISingleFolderWorkspacePathToOpen {
	return isSingleFolderWorkspaceIdentifier(path?.workspace);
}