protected boolean hasMemberWrapperType(MemberScope<?, ?> member) {
        ResolvedType declaredType = member.getDeclaredType();
        if (member.isFakeContainerItemScope() && member.getContext().isContainerType(declaredType)) {
            declaredType = member.getContext().getContainerItemType(declaredType);
        }
        return this.isWrapperType(declaredType);
    }
Determine whether the given field/method's declared type is assignable to the targeted wrapper type.

@param member field/method to check declared type of (also considering if it's a "fake container item scope")
@return whether the declared type is deemed relevant in the context of this module
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/module/FlattenedWrapperModule.java