public final boolean isStringNode() {
        return getType() == NodeType.STRING;
    }
Checks if this node is a string type.

@return Returns true if this node is a string type.
smithy-model/src/main/java/software/amazon/smithy/model/node/Node.java