code: public function delete($key)
      {
          try {
              $this->get($key);
          } catch (KeyNotFoundException $e) {
              return false;
          }
  
          return $this->getClient()->delete($key);
      }
docs: Removes a key.
  
  @param string $key
  
  @return bool True if the deletion was successful, false if the deletion was unsuccessful.
  
  @throws \Exception