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