public bool EvaluateCondition() { var val = Evaluate(); if (val == null) { return false; } return val.AsBool; } }