src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts/AbstractTaskService/isTaskEntry
class AbstractTaskService:	private isTaskEntry(value: IQuickPickItem): value is IQuickPickItem & { task: Task } {
		let candidate: IQuickPickItem & { task: Task } = value as any;
		return candidate && !!candidate.task;
	}