@Override
  public boolean isFinal(@NotNull PopupFactoryImpl.ActionItem item) {
    if (!item.isEnabled()) return true;
    return !(item.getAction() instanceof ActionGroup) || item.isPerformGroup();
  }
@Override
  public boolean isFinal(@NotNull PopupFactoryImpl.ActionItem item)