pub fn is_executable(path: &Path) -> bool
Check whether a path in PATH is a valid executable.
Derived from which’s Checker.
which
Checker