public Boolean getBooleanMemberOrDefault(String memberName, Boolean defaultValue) {
        return getBooleanMember(memberName).map(BooleanNode::getValue).orElse(defaultValue);
    }
Gets the member with the given name, and if present, expects it to
be a boolean, otherwise returns a default value.

@param memberName Name of the member to get.
@param defaultValue Default value to return if not present.
@return Returns the boolean value or a default value.
@throws ExpectationNotMetException if the member is not a boolean.
smithy-model/src/main/java/software/amazon/smithy/model/node/ObjectNode.java