bool validateMnemonic(String mnemonic, String language) { try { mnemonicToEntropy(mnemonic, language); } catch (e) { return false; } return true; }