code: def is_empty_dir(self):
          
          if self.mets_div_type == "Directory":
              children = self._children
              if children:
                  if all(child.is_empty_dir for child in children):
                      return True
                  else:
                      return False
              else:
                  return True
          else:
              return False
docs: Returns ``True`` if this fs item is a directory with no children or
          a directory with only other empty directories as children.