private static boolean isSuspended(@NotNull AnActionEvent e) {
    EventData data = collectEventData(e);
    return data != null && data.annotator.getBackgroundableLock().isLocked();
  }
private static boolean isSuspended(@NotNull AnActionEvent e)