pub(crate) fn is_simple_expr(expr: &Expr) -> bool