public function keyExists($collection, $key) { return $this->driver->count($collection, ['key' => $key]); }