private static boolean isSuspended(@NotNull AnActionEvent e) {
    Project project = e.getRequiredData(CommonDataKeys.PROJECT);
    VirtualFile file = e.getRequiredData(CommonDataKeys.VIRTUAL_FILE);
    return VcsAnnotateUtil.getBackgroundableLock(project, file).isLocked();
  }
private static boolean isSuspended(@NotNull AnActionEvent e)