def find_insts(self, cls=None):
        for inst in self.body:
            if isinstance(inst, cls):
                yield inst
Prefix finding methods tests.
dataset/ETHPy150Open numba/numba/numba/ir.py/Block.find_insts--crossover with--dataset/ETHPy150Open google/pygtrie/test.py/TrieTestCase.DoTestFindPrefix