isTerminal

Check if the transaction is in a terminal state.

Terminal states are: completed, refunded, expired, error, no_market, too_small, too_large.

Return

true if the transaction is in a terminal state