code: 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))
docs: switch.get_cases(target) -> [case]