fn has_function_privilege_2( user_name: &str, function_name: &str, privileges: &str, ) -> Result<bool>