

def exists_widget(path):
    try:
        return two_state_template(os.path.exists(path))
    except Exception as exception:
        return exception

dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/common/widgets.py exists_widget/original