pub fn contains_ref(expr: &Expr, name: &str) -> bool
Check if expression contains a reference to the given name.