original_string: public function has($key): bool
      {
          return $this->exists($key) && null !== $this->attributes[$key];
      }
code: public function has($key): bool
      {
          return $this->exists($key) && null !== $this->attributes[$key];
      }
code_tokens: public function has ( $ key ) : bool { return $ this -> exists ( $ key ) && null !== $ this -> attributes [ $ key ] ; }
docstring: Checks if an a key is present and not null.
  
  @param  string|array $key
  @return bool
docstring_tokens: Checks if an a key is present and not null .