/**
* Determines if the browser is a robot or not.
*
* @return boolean True if browser is a known robot.
*
* @since 1.7.0
*/
public function isRobot()
{
foreach ($this->robots as $robot) {
if (preg_match('/' . $robot . '/', $this->agent)) {
return true;
}
}
return false;
}