public static function checkBrowserRobot()
    {
        if (stripos(self::$userAgentString, 'bot') !== false ||
            stripos(self::$userAgentString, 'spider') !== false ||
            stripos(self::$userAgentString, 'crawler') !== false
        ) {
            self::$browser->setIsRobot(true);

            return true;
        }

        return false;
    }
public static function checkBrowserRobot()
    {
        if (stripos(self::$userAgentString, 'bot') !== false ||
            stripos(self::$userAgentString, 'spider') !== false ||
            stripos(self::$userAgentString, 'crawler') !== false
        ) {
            self::$browser->setIsRobot(true);

            return true;
        }

        return false;
    }
public static function checkBrowserRobot ( ) { if ( stripos ( self :: $ userAgentString , 'bot' ) !== false || stripos ( self :: $ userAgentString , 'spider' ) !== false || stripos ( self :: $ userAgentString , 'crawler' ) !== false ) { self :: $ browser -> setIsRobot ( true ) ; return true ; } return false ; }
Determine if the browser is a robot.

@return bool
Determine if the browser is a robot .