is_executable

is_executable()

Check whether the operating system appears able to execute a specified file.

Result

boolean : true if the item is executable.