public function isEmpty()
    {
        if ($this->test(\sndsgd\Fs::EXISTS | \sndsgd\Fs::READABLE) === false) {
            throw new \RuntimeException(
                "failed to determine if a directory is empty; ".$this->getError()
            );
        }

        return count(scandir($this->path)) === 2;
    }