Returns whether a transaction with the given wtxid is in the mempool.
Declared in <txmempool.h>
<txmempool.h>
bool exists(Wtxid const& wtxid) const;
true if the transaction exists in the mempool.