test / app /document_validator.py
Andrchest's picture
final try 1
e53c2d7
import os
'''
Checks if the given path is valid and file exists
'''
def path_is_valid(path: str) -> bool:
return os.path.exists(path)