public function add(string $path, EntityInterface $entity): bool
    {
        $result = false;

        if (strlen($path)) {
            $name = null;
            $subtree = $this->subtree($path, $name, true);
            $subtree->ownData[$name] = $entity;

            $result = true;
        }

        return $result;
    }