protected static boolean shouldSuppressReadLocks() {
    if (ProgressManager.getInstance().getProgressIndicator() instanceof PotemkinProgress) {
      return !ApplicationManager.getApplication().isDispatchThread();
    }
    return false;
  }
protected static boolean shouldSuppressReadLocks()