config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java
public boolean detectTierIphone()
   {
      if ((this.initCompleted == true) ||
               (this.isTierIphone == true))
         return this.isTierIphone;

      if (detectIphoneOrIpod()
               || detectAndroidPhone()
               || detectWindowsPhone()
               || detectBlackBerry10Phone()
               || (detectBlackBerryWebKit()
               && detectBlackBerryTouch())
               || detectPalmWebOS()
               || detectBada()
               || detectTizen()
               || detectGamingHandheld()) {
         return true;
      }
      return false;
   }
public boolean detectTierIphone()
   {
      if ((this.initCompleted == true) ||
               (this.isTierIphone == true))
         return this.isTierIphone;

      if (detectIphoneOrIpod()
               || detectAndroidPhone()
               || detectWindowsPhone()
               || detectBlackBerry10Phone()
               || (detectBlackBerryWebKit()
               && detectBlackBerryTouch())
               || detectPalmWebOS()
               || detectBada()
               || detectTizen()
               || detectGamingHandheld()) {
         return true;
      }
      return false;
   }
The quick way to detect for a tier of devices. This method detects for devices which can display iPhone-optimized
web content. Includes iPhone, iPod Touch, Android, Windows Phone 7 and 8, BB10, WebOS, Playstation Vita, etc.

@return detection of any device in the iPhone/Android/Windows Phone/BlackBerry/WebOS Tier