private boolean hasJsonUnwrappedAnnotation(ResolvedMember<?> member) {
        return AnnotationHelper.resolveAnnotation(member, JsonUnwrapped.class, JacksonModule.NESTED_ANNOTATION_CHECK)
                .filter(JsonUnwrapped::enabled)
                .isPresent();
    }
Check whether the given field/method's type should be "unwrapped", i.e., elevating their properties to this member's type.

@param member field/method to check
@return whether the given member has an {@code enabled} {@link JsonUnwrapped @JsonUnwrapped} annotation
jsonschema-module-jackson/src/main/java/com/github/victools/jsonschema/module/jackson/JsonUnwrappedDefinitionProvider.java