def path_exists_and_not_empty(path):
    if os.path.exists(path):
        for root, dirs, file_names in os.walk(path):
            break
        if len(file_names) > 0:
            return True
    return False

###############################################################################
path_exists_and_not_empty(path:str) -> boolean 
dataset/ETHPy150Open VisTrails/VisTrails/extensions/latex/includecrowdlabs.py/path_exists_and_not_empty