file-name-absolute-p

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

(file-name-absolute-p FILENAME)

Return t if file FILENAME specifies an absolute file name.
On Unix, this is a name starting with a `/' or a `~'.