IsReadOnly returns 1 is this file is read-only otherwise returns zero.
If this file does not exist then zero is returned.