public static boolean hasConstructor(Class<?> type, Class<?>... parameterTypes) {
        try {
            type.getDeclaredConstructor(parameterTypes);
            return true;
        } catch ( NoSuchMethodException e ) {
            return false;
        }
    }
Iterates over all super classes of the given class (including the class itself)
and calls action.act() for these classes.
jgiven-core/src/main/java/com/tngtech/jgiven/impl/util/ReflectionUtil.java