def path_exists_and_not_empty(self, path):
        if os.path.exists(path):
            n = 0
            for root, dirs, file_names in os.walk(path):
                n += len(file_names)
            if n > 0:
                return True
        return False
path_exists_and_not_empty(path:str) -> boolean
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/application_server.py/RequestHandler.path_exists_and_not_empty