method

preventing_writes?

preventing_writes?()
public

Determines whether writes are currently being prevents.

Returns true if the connection is a replica, or if prevent_writes is set to true.