pub fn is_readable_file(path: &str) -> bool
A path TeX could open as a file: it exists and is not a directory (kpathsea’s READABLE).
READABLE