@Override
    public boolean isIntercepted(ProtocolSection section) {
        if (section.shape().getMemberTrait(section.context().model(), getTraitClass()).isEmpty()) {
            return false;
        }
        var protocolShape = section.context().model().expectShape(section.protocol());
        var protocolDefinition = protocolShape.expectTrait(ProtocolDefinitionTrait.class);
        return protocolDefinition.getTraits().contains(getTraitId());
    }
@return returns the shape id of the protocol trait.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/interceptors/ProtocolTraitInterceptor.java