def METHOD_NAME(card: "CardInfo") -> None:
    drivers = ("module-bluetooth-device.c",
               "module-bluez4-device.c",
               "module-bluez5-device.c")
    if card["driver"] in drivers:
        self._devices[card["proplist"]["device.string"]] = card
        self.clear_menu()
        self.generate_menu()