public MenuBuilder withInfoMenuItemIf(final boolean condition,
                                          final Consumer<InfoMenuItem.Builder> infoMenuItemBuilder) {
        if (condition) {
            final InfoMenuItem.Builder builder = InfoMenuItem.builder();
            infoMenuItemBuilder.accept(builder);
            return withItem(builder.build());
        } else {
            return this;
        }
    }
@param condition Allows you to build conditionally in a fluent style, i.e. only add an item
                 if a condition is met.
stroom-core-client-widget/src/main/java/stroom/widget/menu/client/presenter/MenuBuilder.java