### Question:
NMEA { public static final boolean isAIS(CharSequence seq) { if (seq.charAt(0) != '!') { return false; } return isNMEAOrAIS(seq); }  static final CharSequence getPrefix(CharSequence seq); static final CharSequence findMessage(CharSequence seq); static final TalkerId getTalkerId(CharSequence seq); static final MessageType getMessageType(CharSequence seq); static final boolean isProprietory(CharSequence seq); static final boolean isNMEA(CharSequence seq); static final boolean isAIS(CharSequence seq); static final boolean isNMEAOrAIS(CharSequence seq);  }### Answer:
@Test public void testIsAIS() { assertFalse(NMEA.isAIS("$GPBWC,010003,1248.4128,S,03827.6978,W,338.4,T,1.5,M,0.314,N,BA01,A*61\r\n")); assertTrue(NMEA.isAIS("!AIVDM,1,1,,A,13HOI:0P0000VOHLCnHQKwvL05Ip,0*23\r\n")); }