file-writable-p

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

(file-writable-p FILENAME)

Return t if file FILENAME can be written or created by you.