public static boolean shouldCheckStaleIndexesOnStartup() {
    return REUSE_DELETED_FILE_IDS && (ApplicationManager.getApplication().isInternal() || ApplicationManager.getApplication().isEAP());
  }
public static boolean shouldCheckStaleIndexesOnStartup()