src/vs/workbench/contrib/tasks/browser/taskQuickPick.ts/isWorkspaceFolder
export function isWorkspaceFolder(folder: IWorkspace | IWorkspaceFolder): folder is IWorkspaceFolder {
	return 'uri' in folder;
}