static bool isSupportedByLegacy(int messageType) { return [1, 2, 3, 4, 5, 18, 19, 24, 27].contains(messageType); }