public static async Task <bool> TryGetOutlookClientAsync() { var outlookClient = await CalendarSnippets.GetOutlookClientAsync(); return(outlookClient != null); }