code: public function isOnline ()
  	{
  		$this->loadData ();
  		$timecheck = isset ($this->data['lastDaily']) && intval ($this->data['lastDaily']) > (time () - 60*60*24*7);
  		
  		if (!$this->isInstalled ())
  		{
  			$this->error = 'not_installed';
  			return false;
  		}		
  		elseif (!$timecheck)
  		{
  			$this->error = 'daily_cron_failed';
  			return false;
  		}
  		else
  		{
  			return true;
  		}
  	}
docs: /*
  Return true if the server is online