isReadOnly property

bool get isReadOnly

True if the portal is currently in read-only mode, false otherwise.