isAvailable(): Boolean;
The isAvailable method of the FileNode class returns true if the File or FileFolder class instance is available; that is, if the file exists and it can be accessed with the requested mode. (For details, see the File class mode property.)
The code fragment in the following example shows the use of the isAvailable method.
create file; file.fileName := myFileOpen.fileName; file.mode := File.Mode_Input; if file.isAvailable then file.open; beginTransaction; else ... // do some processing here