Function: file-executable-p

Return t if FILENAME can be executed by you.
For a directory, this means you can access files in that directory.

(fn FILENAME)