pub fn file_exists(path: impl AsRef<Path>) -> bool
file_exists: whether the path is an existing file (os.path.isfile).
file_exists
os.path.isfile