src/vs/workbench/services/extensionManagement/common/webExtensionsScannerService.ts/WebExtensionsScannerService/canAddExtension
class WebExtensionsScannerService:	canAddExtension(galleryExtension: IGalleryExtension): boolean {
		return !!this.productService.extensionsGallery?.resourceUrlTemplate || !!galleryExtension.webResource;
	}