code: private static boolean checkInitialize(Method method, Object obj) {
          boolean isInitialized = true;
          
          try {
              isInitialized = (Boolean) method.invoke(null, new Object[] {obj});
          } catch (IllegalArgumentException e) {
  		   // do nothing
          } catch (IllegalAccessException e) {
  		   // do nothing
          } catch (InvocationTargetException e) {
  		   // do nothing
          }
          return isInitialized;
      }
docs: Check is current property was initialized
  @param method - hibernate static method, which check
  is initilized property
  @param obj - object which need for lazy check
  @return boolean value