isWalletOpen method

bool isWalletOpen()

Implementation

bool isWalletOpen() {
  if (_keyBox == null ||
      _issuingHistory == null ||
      _credentialBox == null ||
      _configBox == null ||
      _exchangeHistory == null ||
      _connection == null ||
      _didcommConversations == null) {
    return false;
  } else {
    return (_keyBox!.isOpen) &&
        (_issuingHistory!.isOpen) &&
        (_credentialBox!.isOpen) &&
        (_configBox!.isOpen) &&
        (_exchangeHistory!.isOpen) &&
        (_connection!.isOpen) &&
        (_didcommConversations!.isOpen);
  }
}