pub fn is_simple_pure_expr(expr: &Expr, pure_getters: bool) -> bool