I think we might need to ask the `Metamodel` for whether this is a managed type at all. Could be a class unknown to the persistence context.