@cached_property<EOL><INDENT>def is_empty(self):<DEDENT>
if self._listdir_cache is not None:<EOL><INDENT>return not bool(self._listdir_cache)<EOL><DEDENT>for entry in self._listdir():<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Get if directory is empty (based on :meth:`_listdir`).

:returns: True if this directory has no entries, False otherwise.
:rtype: bool