@ApiStatus.Internal
  public static boolean anyMnemonicsIn(Iterable<? extends ActionItem> items) {
    for (ActionItem item : items) {
      if (item.getAction().getTemplatePresentation().getMnemonic() != 0) return true;
    }

    return false;
  }
@ApiStatus.Internal
  public static boolean anyMnemonicsIn(Iterable<? extends ActionItem> items)