protected boolean containsClientType(final Iterable<Client> clients, final Class<? extends Client> clazz) {
        for (val client : clients) {
            if (clazz.isAssignableFrom(client.getClass())) {
                return true;
            }
        }
        return false;
    }
<p>containsClientType.</p>

@param clients a {@link List} object
@param clazz a {@link Class} object
@return a boolean
pac4j-core/src/main/java/org/pac4j/core/authorization/checker/DefaultAuthorizationChecker.java