protected boolean isGenerated() {
        return false;
    }
Generated Document subclasses should override this and return true. This is used instead of using class.getAnnotation(Generated.class), because that is so slow.
@return true if in a concrete subtype of Document
document/src/main/java/com/yahoo/document/datatypes/StructuredFieldValue.java