maybe rewrite as:

    result = TableBuilder::build(list);
    if (_useStoreFlag) {

    }