It would be useful to have an `IsEmpty` method for directories to check whether or not they have anything inside.
It would be useful to have an
IsEmptymethod for directories to check whether or not they have anything inside.