public static bool IsSignOutWorkflow(Uri uri)
        {
            var isSignOutNavigation = uri.LocalPath.StartsWith(SignOutOptionsPath);

            if (!isSignOutNavigation)
            {
                return(false);
            }

            var queryParams = new WwwFormUrlDecoder(uri.Query);

            if (queryParams == null || queryParams.Count == 0)
            {
                return(false);
            }

            return(queryParams.All(kvp => kvp.Name != "hl"));
        }