@Override
    public Void booleanShape(BooleanShape shape) {
        writer.write("$L.expectBooleanNode().getValue()", varName);
        return null;
    }
Determines how to map a node to a shape.
smithy-trait-codegen/src/main/java/software/amazon/smithy/traitcodegen/generators/FromNodeMapperVisitor.java