public function exists(...$args): bool
    {
        if (!count($args)) {
            //test to see if it's empty
            return !$this->isEmpty();
        }

        $separator = '--'. md5(uniqid()) . '--';
        return $this->isDot(implode($separator, $args), $separator);
    }
public function exists(...$args): bool
    {
        if (!count($args)) {
            //test to see if it's empty
            return !$this->isEmpty();
        }

        $separator = '--'. md5(uniqid()) . '--';
        return $this->isDot(implode($separator, $args), $separator);
    }
public function exists ( ... $ args ) : bool { if ( ! count ( $ args ) ) { //test to see if it's empty return ! $ this -> isEmpty ( ) ; } $ separator = '--' . md5 ( uniqid ( ) ) . '--' ; return $ this -> isDot ( implode ( $ separator , $ args ) , $ separator ) ; }
Returns true if the path keys
exist in the dataset

@param scalar|null ...$args Path keys

@return bool
Returns true if the path keys exist in the dataset