/**
  * @param $key
  *
  * @return mixed|null
  */
 public function findByKey(string $key)
 {
     if (!$this->root) {
         return null;
     }
     return $this->root->findByKey($key);
 }