public function onlyOneTransactionId($actionCounts)
    {
        return (isset($actionCounts['transactionId']) && $actionCounts['transactionId'] == 1
                && (!isset($actionCounts['clientTransactionId'])
                    || isset($actionCounts['clientTransactionId']) && $actionCounts['clientTransactionId'] == 0))
            || (isset($actionCounts['clientTransactionId']) && $actionCounts['clientTransactionId'] == 1
                && (!isset($actionCounts['transactionId'])
                    || isset($actionCounts['transactionId']) && $actionCounts['transactionId'] == 0));
    }