code: @FFDCIgnore(ClassNotFoundException.class)
      private boolean isWebSphereLibertyJtaPlatformAvailable(ClassLoader loader) {
          try {
              loadClass(loader, "org.hibernate.engine.transaction.jta.platform.internal.WebSphereLibertyJtaPlatform");
              return true;
          } catch (ClassNotFoundException notFound) {
              return false;
          }
      }
docs: As of Hibernate 5.2.13+ and 5.3+ built-in knowledge of Liberty's transaction integration was delivered as:
  org.hibernate.engine.transaction.jta.platform.internal.WebSphereLibertyJtaPlatform
  If this class is available, we do not need to set our dynamic proxy instance.