public function hasChildren()
    {
        if ($this->resources === null) {
            $this->initializeResouces();
        }

        return current($this->resources) instanceof \Arbit\VCSWrapper\Directory;
    }