You are right. I should check if class inherits from `WirelessProtocol`.