Checks whether the
transaction
of this instance is set.
false if the transaction is null. Otherwise, it returns true.