@Override
    protected boolean shouldSet(CompoundName name, Object value) {
        return value != null && ! FieldType.isLegalFieldValue(value);
    }
Returns true if the class of the value is *not* acceptable as a query profile value,
and therefore should be set in this.
container-search/src/main/java/com/yahoo/search/query/profile/ModelObjectMap.java