original_string: public function has(string $type): bool
      {
          return isset($this->values[$type]) && \count($this->values[$type]) > 0;
      }
code: public function has(string $type): bool
      {
          return isset($this->values[$type]) && \count($this->values[$type]) > 0;
      }
code_tokens: public function has ( string $ type ) : bool { return isset ( $ this -> values [ $ type ] ) && \ count ( $ this -> values [ $ type ] ) > 0 ; }
docstring: Get a single value by type and index.
  
  @return bool
docstring_tokens: Get a single value by type and index .