Bluetooth: Add discovery type validity helper