boolean (@NotNull IdeaPluginDescriptor descriptor) { PluginId pluginId = descriptor.getPluginId(); synchronized (ourLock) { if (myPrepared && myCache != null) { for (IdeaPluginDescriptor downloader : myCache) { if (pluginId.equals(downloader.getPluginId())) { return true; } } } } return InstalledPluginsState.getInstance().hasNewerVersion(pluginId); }