Detecting if a transaction was appended

Hello.

How can I detect if a transaction is a root transaction or was appended? The history plugin uses tr.getMeta("appendedTransaction"), but this is not in the documentation. Can I use this safely?

Thanks!

Yes, that meta property can reliably tell you whether a given transaction was created by appendTransaction.