def isTrue(self, expr):
        testval = self.session.run(expr)
        if isinstance(testval, np.ndarray):
            testval = np.all(testval)
        return self.assertTrue(testval)
Returns a token counter for tokens in token_list.
dataset/ETHPy150Open xraypy/xraylarch/tests/utils.py/TestCase.isTrue--crossover with--dataset/ETHPy150Open erickrf/nlpnet/nlpnet/word_dictionary.py/WordDictionary._get_frequency_count