protected function isTimedOut($key) { // if the item is available and has timed out, return TRUE if (array_key_exists($key, $this->lifetime) && $this->lifetime[$key] < time()) { return true; } // else return FALSE return false; }