public static @NotNull PythonFoldingSettings getInstance() {
    return ApplicationManager.getApplication().getService(PythonFoldingSettings.class);
  }
public static @NotNull PythonFoldingSettings getInstance()