public function isArray($path)
    {
        $value = $this->get($path, $this);

        if ($value === $this || !is_array($value)) {
            return false;
        }

        return array_keys($value) === range(0, count($value) - 1);
    }