add a BDV::isTxMainBranch(tx) for convenience