public final BooleanEquals booleanEqual(boolean value) {
        return BooleanEquals.ofExpressions(toExpression(), Expression.of(value));
    }
Returns a BooleanEquals expression comparing this expression to the provided boolean value.

@param value the value to compare against.
@return the {@link BooleanEquals} function.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/SyntaxElement.java