src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts/AbstractTaskService/_isTaskProviderEnabled
class AbstractTaskService:	private _isTaskProviderEnabled(type: string) {
		const definition = TaskDefinitionRegistry.get(type);
		return !definition || !definition.when || this._contextKeyService.contextMatchesRules(definition.when);
	}