[hibernate-dev] [ORM] Do we have a way to check if an object is an entity?