docs: public synchronized boolean isSettlementTransaction(Transaction tx) {
          try {
              tx.verify();
              tx.getInput(0).verify(getContractInternal().getOutput(0));
              return true;
          } catch (VerificationException e) {
              return false;
          }
      }