boolean (@NotNull PluginId pluginId) { IdeaPluginDescriptorImpl descriptor = PluginManagerCore.findPlugin(pluginId); return descriptor != null && DynamicPlugins.allowLoadUnloadWithoutRestart(descriptor) && DynamicPlugins.INSTANCE.unloadPlugin(descriptor, new DynamicPlugins.UnloadPluginOptions() .withDisable(false) .withUpdate(true) .withWaitForClassloaderUnload(true)); }