private boolean isEmpty(Item item) {
        if (item == null) return true;
        if (item instanceof QueryTree && ((QueryTree) item).isEmpty()) return true;
        return false;
    }
Returns true if this item represents an empty query *tree*.
container-search/src/main/java/com/yahoo/prelude/semantics/engine/Evaluation.java