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