code: public boolean detectTierIphone() {
  
          if (detectIphoneOrIpod()
              || detectAndroidPhone()
              || detectWindowsPhone()
              || detectBlackBerry10Phone()
              || (detectBlackBerryWebKit() && detectBlackBerryTouch())
              || detectPalmWebOS()
              || detectBada()
              || detectTizen()
              || detectFirefoxOSPhone()
              || detectSailfishPhone()
              || detectUbuntuPhone()
              || detectGamingHandheld()) {
              return true;
          }
          return false;
      }
docs: 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