code: public static boolean isClassAvailable(final String className) {
          try {
              final Class<?> clazz = loadClass(className);
              return clazz != null;
          } catch (final ClassNotFoundException | LinkageError e) {
              return false;
          } catch (final Throwable e) {
              LowLevelLogUtil.logException("Unknown error checking for existence of class: " + className, e);
              return false;
          }
      }
docs: Determines if a named Class can be loaded or not.
  
  @param className The class name.
  @return {@code true} if the class could be found or {@code false} otherwise.
  @since 2.7