pub fn is_executable<P>(path: P) -> boolwhere P: AsRef<Path>,
Returns true if there is a file at the given path and it is executable. Returns false otherwise.
true
false
See the module documentation for details.