def get_cases(self, target):
        if target in self.targets:
            return self._reverse_map[target]

        raise KeyError("Target 0x{:08X} does not exist.".format(target))
switch.get_cases(target) -> [case]
dataset/ETHPy150Open tmr232/Sark/sark/code/switch.py/Switch.get_cases