@Override
    public Optional<Trait> findMemberTrait(Model model, String traitName) {
        return OptionalUtils.or(
                findTrait(traitName),
                () -> model.getShape(getTarget()).flatMap(targetedShape -> targetedShape.findTrait(traitName)));
    }
@return Returns true if the member has a default not set to null.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/MemberShape.java