public boolean removeItem(Item item) {
        boolean removed = subitems.remove(item);

        if (removed) {
            removing(item);
        }
        return removed;
    }
Removes the given item. Does nothing if the item is not present.

@param  item the item to remove
@return whether the item was removed
container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java