public static function isXhtmlRequester($request)
    {
        if (!isset($request["accept"])) {
            return false;
        }
        
        $accept = $request["accept"];
        if (isset($accept)) {
            if ((strpos($accept, WURFL_Constants::ACCEPT_HEADER_VND_WAP_XHTML_XML) !== 0)
            || (strpos($accept, WURFL_Constants::ACCEPT_HEADER_XHTML_XML) !== 0)
            || (strpos($accept, WURFL_Constants::ACCEPT_HEADER_TEXT_HTML) !== 0)) {
                return true;
            }
        }

        return false;
    }