(self)
return bool(ops.get('fsyncLock', 0))
Is this server locked? While locked, all write operations
        are blocked, although read operations may still be allowed.
        Use :meth:`unlock` to unlock.
Is this server locked? While locked, all write operations
        are blocked, although read operations may still be allowed.
        Use :meth:`unlock` to unlock.
Is this server locked? While locked all write operations are blocked although read operations may still be allowed . Use : meth : unlock to unlock .
def is_locked(self):
        """Is this server locked? While locked, all write operations
        are blocked, although read operations may still be allowed.
        Use :meth:`unlock` to unlock.
        """
        ops = self._database_default_options('admin').current_op()
        return bool(ops.get('fsyncLock', 0))
def is_locked ( self ) : ops = self . _database_default_options ( 'admin' ) . current_op ( ) return bool ( ops . get ( 'fsyncLock' , 0 ) )