basic validation of boolean expression