pub fn is_valid_math_expression(expr: &str) -> bool
Check if a string represents a valid mathematical expression