original_string: public function has($key)
      {
          return isset($this->factories[$key]) || isset($this->services[$key]);
      }
code: public function has($key)
      {
          return isset($this->factories[$key]) || isset($this->services[$key]);
      }
code_tokens: public function has ( $ key ) { return isset ( $ this -> factories [ $ key ] ) || isset ( $ this -> services [ $ key ] ) ; }
docstring: Determine if the given service exists.
  
  @param  string  $key
  
  @return bool
docstring_tokens: Determine if the given service exists .