private boolean hasProblematicDependencies(@NotNull PluginId pluginId) {
    return getRequiredPluginsById(pluginId).anyMatch(pair -> {
      IdeaPluginDescriptor descriptor = pair.getSecond();
      return descriptor != null && !isEnabled(descriptor);
    });
  }
private boolean hasProblematicDependencies(@NotNull PluginId pluginId)