function isbot($agent=NULL) {
		if (!isset($agent))
			$agent=Base::instance()->AGENT;
		return (bool)preg_match('/('.self::UA_Bot.')/i',$agent);
	}
function isbot($agent=NULL) {
		if (!isset($agent))
			$agent=Base::instance()->AGENT;
		return (bool)preg_match('/('.self::UA_Bot.')/i',$agent);
	}
function isbot ( $ agent = NULL ) { if ( ! isset ( $ agent ) ) $ agent = Base :: instance ( ) -> AGENT ; return ( bool ) preg_match ( '/(' . self :: UA_Bot . ')/i' , $ agent ) ; }
Return TRUE if user agent is a Web bot
@return bool
@param $agent string
Return TRUE if user agent is a Web bot