protected function has($key)
    {
        if (!is_array($key)) {
            return (array_key_exists($key, $this->item));
        }

        foreach ($key as $value) {
            if (!array_key_exists($value, $this->item)) {
                return false;
            }
        }

        return true;
    }
protected function has($key)
    {
        if (!is_array($key)) {
            return (array_key_exists($key, $this->item));
        }

        foreach ($key as $value) {
            if (!array_key_exists($value, $this->item)) {
                return false;
            }
        }

        return true;
    }
protected function has ( $ key ) { if ( ! is_array ( $ key ) ) { return ( array_key_exists ( $ key , $ this -> item ) ) ; } foreach ( $ key as $ value ) { if ( ! array_key_exists ( $ value , $ this -> item ) ) { return false ; } } return true ; }
Has the config element an element or not.

@param string $key
@return boolean
Has the config element an element or not .