Hibernate#isPropertyInitialized needs to check if entity has marker entity 'org.hibernate.engine.spi.PersistentAttributeInterceptable' (added by bytecode enhacer when there is lazy loading).
Also, LazyAttributeLoader must expose it's state.