src/vs/workbench/services/extensions/common/abstractExtensionService.ts/AbstractExtensionService/_safeInvokeIsDisabledByWorkspaceTrust
class AbstractExtensionService:	protected _safeInvokeIsDisabledByWorkspaceTrust(extension: IExtension): boolean {
		try {
			const enablementState = this._extensionEnablementService.getEnablementState(extension);
			return enablementState === EnablementState.DisabledByTrustRequirement;
		} catch (err) {
			return false;
		}
	}