/**
  * @param $key
  * @return bool
  */
 public function hasValue($key) : bool
 {
     $key = $this->valueFactory->resolve($key);
     return parent::hasValue($key);
 }