public function isMobile($userAgent = null, $httpHeaders = null)
        {
            if ($httpHeaders) {
                $this->setHttpHeaders($httpHeaders);
            }

            if ($userAgent) {
                $this->setUserAgent($userAgent);
            }

            $this->setDetectionType(self::DETECTION_TYPE_MOBILE);

            if ($this->checkHttpHeadersForMobile()) {
                return true;
            } else {
                return $this->matchDetectionRulesAgainstUA();
            }
        }