jodd-core/src/main/java/jodd/util/ClassUtil.java
public static boolean isTypeOf(final Class<?> lookupClass, final Class<?> targetClass) {
		if (targetClass == null || lookupClass == null) {
			return false;
		}
		return targetClass.isAssignableFrom(lookupClass);
	}
public static boolean isTypeOf(final Class<?> lookupClass, final Class<?> targetClass) {
		if (targetClass == null || lookupClass == null) {
			return false;
		}
		return targetClass.isAssignableFrom(lookupClass);
	}
Safe version of <code>isAssignableFrom</code> method that
returns <code>false</code> if one of the arguments is <code>null</code>.