access-file

access-file is a built-in function in `C source code'.

(access-file FILENAME STRING)

Access file FILENAME, and get an error if that does not work.
The second argument STRING is used in the error message.
If there is no error, returns nil.