isLegacyWalEnabled

Returns whether the legacy mode for WAL journal encryption is used.

Throws

if reading the value fails.