public function has($key) { $value = $this->get($key); if ($value === false) { return false; } return true; }