public static boolean acceptsChildrenOfType(ItemType itemType) {
        return itemType == ItemType.WORD ||
               itemType == ItemType.WORD_ALTERNATIVES ||
               itemType == ItemType.INT ||
               itemType == ItemType.EXACT ||
               itemType == ItemType.PHRASE;
    }
Returns true if this accepts child items of the given type
container-search/src/main/java/com/yahoo/prelude/query/EquivItem.java