public boolean isProtected() {
        return this.member.isProtected();
    }
Indicates whether the member is of {@code protected} visibility.

@return whether member is protected
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/MemberScope.java