isReadOnly()
Returns true if the database is in read-only mode. Returns false otherwise.
Syntax
isReadOnly()