public function has($key)
    {
        $config = $this->config;

        foreach (explode('.', $key) as $k) {
            if (! isset($config[$k])) {
                return false;
            }
            $config = $config[$k];
        }

        return true;
    }
public function has($key)
    {
        $config = $this->config;

        foreach (explode('.', $key) as $k) {
            if (! isset($config[$k])) {
                return false;
            }
            $config = $config[$k];
        }

        return true;
    }
public function has ( $ key ) { $ config = $ this -> config ; foreach ( explode ( '.' , $ key ) as $ k ) { if ( ! isset ( $ config [ $ k ] ) ) { return false ; } $ config = $ config [ $ k ] ; } return true ; }
Check for the existence of a configuration item.

@param string $key Unique configuration option key

@return bool True if item existst, otherwise false
Check for the existence of a configuration item .