Evaluates expr and returns its Boolean result.
the boolean result of the evaluation
the boolean expression to evaluate
if checkCode rejects expr, or it fails to compile or run
if the expression does not evaluate to a Boolean