code: protected boolean isMobile(PortletRequest request) {
          final String themeName = request.getProperty(IPortletRenderer.THEME_NAME_PROPERTY);
          return "UniversalityMobile".equals(themeName);
      }
docs: Determine if this should be a mobile view.
  
  @param request
  @return