private static boolean isCurrentlyStoredExternally(@Nullable Project project) {
    return project == null || ExternalStorageConfigurationManager.getInstance(project).isEnabled();
  }
private static boolean isCurrentlyStoredExternally(@Nullable Project project)