private static bool SupportsApl(IAlexaRequest alexaRequest)
        {
            if (alexaRequest.context.Viewports is null)
            {
                return(false);
            }

            var viewportUtility = new ViewportUtility();
            var viewportProfile = viewportUtility.GetViewportProfile(alexaRequest.context.Viewport);

            if (viewportProfile == ViewportProfile.UNKNOWN_VIEWPORT_PROFILE)
            {
                return(false);
            }

            return(viewportUtility.ViewportSizeIsLessThen(viewportProfile, ViewportProfile.TV_LANDSCAPE_MEDIUM) &&
                   Equals(alexaRequest.context.Viewports[0].type, "APL"));
        }
        private static ViewportProfile GetCurrentViewport(IAlexaRequest alexaRequest)
        {
            var viewportUtility = new ViewportUtility();

            return(viewportUtility.GetViewportProfile(alexaRequest.context.Viewport));
        }