readOnly

Returns true when the editor is configured to be read-only.