public static <T_ROW> Function<T_ROW, TickBoxState> createTickBoxExtractor(
            final Function<T_ROW, Boolean> booleanExtractor) {
        return row -> {
            final Boolean bool = Objects.requireNonNull(booleanExtractor).apply(row);
            return TickBoxState.fromBoolean(bool);
        };
    }
Builds an updatable tick box that is either ticked or un-ticked.

@param valueExtractor Function to extract a boolean from {@code T_ROW}.
@param <T_ROW>        The row type
stroom-core-client/src/main/java/stroom/util/client/DataGridUtil.java