Check if mnemonic and passphrase are string values