code: public boolean detectMobileQuick() {
  
          //Let's exclude tablets
          if (isTierTablet) {
              return false;
          }
          //Most mobile browsing is done on smartphones
          if (detectSmartphone()) {
              return true;
          }
  
          //Catch-all for many mobile devices
          if (userAgent.indexOf(mobile) != -1) {
              return true;
          }
  
          if (detectOperaMobile()) {
              return true;
          }
  
          //We also look for Kindle devices
          if (detectKindle() || detectAmazonSilk()) {
              return true;
          }
  
          if (detectWapWml() || detectMidpCapable() || detectBrewDevice()) {
              return true;
          }
  
          if ((userAgent.indexOf(engineNetfront) != -1) || (userAgent.indexOf(engineUpBrowser) != -1)) {
              return true;
          }
  
          return false;
      }
docs: Detects if the current device is a mobile device.
  This method catches most of the popular modern devices.
  Excludes Apple iPads and other modern tablets.
  @return detection of any mobile device using the quicker method