[#wallet-CWallet-IsLocked] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::IsLocked :relfileprefix: ../../ :mrdocs: Report whether the wallet's keys are currently locked (encrypted and unavailable). == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool IsLocked() const override; ---- == Return Value true if the wallet is locked. [.small]#Created with https://www.mrdocs.com[MrDocs]#