else if (StringUtils.isNotBlank(expressionAsString))
{
boolean convertToBoolean = false;
if (node.parent().parent() instanceof AUnaryExpression)
{
AUnaryExpression unaryExpression = (AUnaryExpression)node.parent().parent();
// we convert each unary not expression to boolean
convertToBoolean = unaryExpression.getUnaryOperator() instanceof ANotUnaryOperator;
if (convertToBoolean)
{
this.write(BOOLEAN_WRAP_PREFIX);
}
}