public boolean onRequiredOrDefault() {
            return onRequiredOrDefault;
        }
Whether clientOptional is required for all members marked as required or default.

@return Returns true if required.
smithy-linters/src/main/java/software/amazon/smithy/linters/MissingClientOptionalTrait.java