### Question:
PersistenceUtilHelper { public static LoadState isLoaded(Object o) { if (o == null) { return LoadState.NOT_LOADED; } else if (o instanceof KunderaProxy) { final boolean isInitialized = !((KunderaProxy) o).getKunderaLazyInitializer().isUninitialized(); return isInitialized ? LoadState.LOADED : LoadState.NOT_LOADED; } else if(ProxyHelper.isKunderaProxyCollection(o)) { final boolean isInitialized = ((AbstractProxyCollection) o).getDataCollection() != null; return isInitialized ? LoadState.LOADED : LoadState.NOT_LOADED; } else { return LoadState.UNKNOWN; } }  static LoadState isLoadedWithReference(Object proxy, String property, MetadataCache cache); static LoadState isLoadedWithoutReference(Object proxy, String property, MetadataCache cache); static LoadState isLoaded(Object o);  }### Answer:
@Test public void testisLoadedWAsKunderaProxy() throws NoSuchMethodException, SecurityException { CglibLazyInitializerFactory factory = new CglibLazyInitializerFactory(); KunderaProxy proxy = factory.getProxy("Person", Person.class, Person.class.getDeclaredMethod("getPersonId", null), Person.class.getDeclaredMethod("setPersonId", String.class), "personId", null); LoadState state = PersistenceUtilHelper.isLoaded(proxy); Assert.assertNotNull(state); Assert.assertEquals(LoadState.NOT_LOADED, state); }