private boolean shadowed(String name) {
            if (hit.hasField(name)) {
                return true;
            }
            for (int i = 0; i < hit.summaries.size() - index; i++) {
                if (hit.summaries.get(i).type.fields().containsKey(name)) {
                    return true;
                }
            }
            return false;
        }
Returns whether this field is present in the map properties
or a summary added later in this hit
container-search/src/main/java/com/yahoo/prelude/fastsearch/FastHit.java