public static boolean isClassAvailable(final String className) {
    try {
      forName(className,
          new IllegalArgumentException(String.format("Class (%1$s) is not available!", className)));
      return true;
    } catch (IllegalArgumentException ignore) {
      // NOTE the Exception could be logged at fine/debug level if we used category-based logging
      return false;
    }
  }
Determine whether the specified class is on the classpath. <
<p>

@param className a String value specifying the fully-qualified name of the class.
@return a boolean value indicating whether the specified class is on the classpath.
@see #forName(String, RuntimeException)
geode-common/src/main/java/org/apache/geode/internal/lang/utils/ClassUtils.java