src/vs/platform/extensionManagement/common/extensionManagementIpc.ts/ExtensionManagementChannelClient/canInstall
class ExtensionManagementChannelClient:	async canInstall(extension: IGalleryExtension): Promise<boolean> {
		const currentTargetPlatform = await this.getTargetPlatform();
		return extension.allTargetPlatforms.some(targetPlatform => isTargetPlatformCompatible(targetPlatform, extension.allTargetPlatforms, currentTargetPlatform));
	}