pub fn contains_window_functions(expr: &Expression) -> bool
Check if an expression contains window functions