original_string: protected function has($key, $cfg = null) {
          if (!$cfg)
              $cfg = $this->cfg;
          return array_key_exists($key, $cfg);
      }
code: protected function has($key, $cfg = null) {
          if (!$cfg)
              $cfg = $this->cfg;
          return array_key_exists($key, $cfg);
      }
code_tokens: protected function has ( $ key , $ cfg = null ) { if ( ! $ cfg ) $ cfg = $ this -> cfg ; return array_key_exists ( $ key , $ cfg ) ; }
docstring: Returns whether a plain settings array has a key.
  If no settings array is given, the internal settings array
  is assumed.
  @param string $key
  @param array $cfg
  @return bool
docstring_tokens: Returns whether a plain settings array has a key . If no settings array is given the internal settings array is assumed .