private static boolean isCommitMessageEditor(@NotNull DataContext context) {
    return context.getData(VcsDataKeys.COMMIT_MESSAGE_CONTROL) != null;
  }
private static boolean isCommitMessageEditor(@NotNull DataContext context)