code: def isempty(path):
      
      if op.isdir(path):
          return [] == os.listdir(path)
      elif op.isfile(path):
          return 0 == os.stat(path).st_size
      return None
docs: Returns True if the given file or directory path is empty.
  
      **Examples**:
      ::
          auxly.filesys.isempty("foo.txt")  # Works on files...
          auxly.filesys.isempty("bar")  # ...or directories!