/** * Indicates if the requested variable is available in IPC data. * * @param int $id int indicating the variable * * @access public * @return boolean */ public function HasData($id = 2) { $this->memcached->get($this->type . ':' . $id); return $this->memcached->getResultCode() === Memcached::RES_SUCCESS; }