@Override
    public Optional<Schema> inherited() {
        return inherited.map(name -> owner.schemas().get(name));
    }
Returns true if this only defines a document type, not a full schema
config-model/src/main/java/com/yahoo/schema/Schema.java