original_string: public function has($key)
      {
          $config = $this->config;
  
          foreach (explode('.', $key) as $k) {
              if (! isset($config[$k])) {
                  return false;
              }
              $config = $config[$k];
          }
  
          return true;
      }
code: public function has($key)
      {
          $config = $this->config;
  
          foreach (explode('.', $key) as $k) {
              if (! isset($config[$k])) {
                  return false;
              }
              $config = $config[$k];
          }
  
          return true;
      }
code_tokens: public function has ( $ key ) { $ config = $ this -> config ; foreach ( explode ( '.' , $ key ) as $ k ) { if ( ! isset ( $ config [ $ k ] ) ) { return false ; } $ config = $ config [ $ k ] ; } return true ; }
docstring: Check for the existence of a configuration item.
  
  @param string $key Unique configuration option key
  
  @return bool True if item existst, otherwise false
docstring_tokens: Check for the existence of a configuration item .