I first noticed this problem in an AS7 unit test. Workaround is to instead use the Hibernate session to see if it contains the object.
https://github.com/scottmarlow/hibernate-orm/tree/PersistenceUnitUtil contains the failing test:
assertFalse( em.getEntityManagerFactory().getPersistenceUnitUtil().isLoaded( new Author() ) )