// Token: 0x06000988 RID: 2440 RVA: 0x000221E0 File Offset: 0x000203E0
        private static bool IsSharePointAppRequest(RequestContext requestContext, out DateTime?whenMailboxCreated)
        {
            bool result = false;

            whenMailboxCreated = null;
            if (requestContext != null)
            {
                if (requestContext.UserContext != null && requestContext.UserContext.ExchangePrincipal != null)
                {
                    result             = (requestContext.UserContext.ExchangePrincipal.RecipientTypeDetails == RecipientTypeDetails.TeamMailbox);
                    whenMailboxCreated = requestContext.UserContext.ExchangePrincipal.MailboxInfo.WhenMailboxCreated;
                }
                else if (requestContext.HttpContext != null)
                {
                    result = UserContextUtilities.IsSharePointAppRequest(requestContext.HttpContext.Request);
                }
            }
            return(result);
        }