File size: 141 Bytes
365de9c
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import os

"""
Checks if the given path is valid and file exists
"""


def path_is_valid(path: str) -> bool:
    return os.path.exists(path)