add check to mnemonic_from_data as well