pub fn has_expr<F>(current_expr: &Expr, matches: F) -> boolwhere F: Fn(&Expr) -> bool,
Can check if an expression tree has a matching_expr. This requires a dummy expression to be created that will be used to pattern match against.