protected function has($key, $cfg = null) {
        if (!$cfg)
            $cfg = $this->cfg;
        return array_key_exists($key, $cfg);
    }
protected function has($key, $cfg = null) {
        if (!$cfg)
            $cfg = $this->cfg;
        return array_key_exists($key, $cfg);
    }
protected function has ( $ key , $ cfg = null ) { if ( ! $ cfg ) $ cfg = $ this -> cfg ; return array_key_exists ( $ key , $ cfg ) ; }
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
Returns whether a plain settings array has a key . If no settings array is given the internal settings array is assumed .