(Shortest import: from brian2.codegen.optimisation import evaluate_expr)
from brian2.codegen.optimisation import evaluate_expr)
Try to evaluate the expression in the given namespace
Returns either (value, True) if successful, or (expr, False) otherwise.