file-executable-p
file-executable-p is a built-in function in `C source code
'.
(file-executable-p FILENAME)
Return t if FILENAME can be executed by you.
For a directory, this means you can access files in that directory.
(It is generally better to use `file-accessible-directory-p' for that
purpose, though.)