public function has($id)
    {
        try {
            $existing = $this->get($id);
        } catch (\OutOfBoundsException $e) {
            return false;
        }
        return Util::typeOf($existing);
    }
public function has($id)
    {
        try {
            $existing = $this->get($id);
        } catch (\OutOfBoundsException $e) {
            return false;
        }
        return Util::typeOf($existing);
    }
public function has ( $ id ) { try { $ existing = $ this -> get ( $ id ) ; } catch ( \ OutOfBoundsException $ e ) { return false ; } return Util :: typeOf ( $ existing ) ; }
Checks for existence of the specified path.

@param string $id
@return string
Checks for existence of the specified path .