myFile.exists in Photoshop DOM

Returns true if the path of this File refers to an existing file on disk.
This property is read-only.

Property Type
Boolean