Add isSerializationError predicate to Transaction