public boolean isBooleanValue() {
        return value instanceof Boolean;
    }
Checks if the value is a boolean.

@return Returns true if the value is a boolean.
smithy-jmespath/src/main/java/software/amazon/smithy/jmespath/ast/LiteralExpression.java