src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts/AbstractTaskService/getFolderFromTaskKey
class AbstractTaskService:	private getFolderFromTaskKey(key: string): { folder: string | undefined; isWorkspaceFile: boolean | undefined } {
		const keyValue: { folder: string | undefined; id: string | undefined } = JSON.parse(key);
		return {
			folder: keyValue.folder, isWorkspaceFile: keyValue.id?.endsWith(TaskSourceKind.WorkspaceFile)
		};
	}