Make mnemonic lookup return success/failure