public boolean hasQualifier(Class<? extends Annotation> qualifier) {
        return qualifiers.stream().anyMatch(qualifier::isInstance);
    }
Returns true if this type contains the given qualifier.

@param qualifier qualifier to check for.
@return true if this instance contains the given qualifier.
core/src/main/java/org/jdbi/v3/core/qualifier/QualifiedType.java