public function have($path)
    {
        $keys  = $this->explode($path);
        $array = $this->values;
        foreach ($keys as $key) {
            if (isset($array[$key])) {
                $array = $array[$key];
            } else {
                return false;
            }
        }

        return true;
    }
public function have($path)
    {
        $keys  = $this->explode($path);
        $array = $this->values;
        foreach ($keys as $key) {
            if (isset($array[$key])) {
                $array = $array[$key];
            } else {
                return false;
            }
        }

        return true;
    }
public function have ( $ path ) { $ keys = $ this -> explode ( $ path ) ; $ array = $ this -> values ; foreach ( $ keys as $ key ) { if ( isset ( $ array [ $ key ] ) ) { $ array = $ array [ $ key ] ; } else { return false ; } } return true ; }
Returns whether a path exists.

@param string $path Path to check existence.

@author Anton Medvedev <anton (at) elfet (dot) ru>

@return bool TRUE if path exists, otherwise FALSE
Returns whether a path exists .