private static boolean isDataMessage ( final ByteBuf msg ) { return DcpMutationMessage . is ( msg ) || DcpDeletionMessage . is ( msg ) || DcpExpirationMessage . is ( msg ) ; }
Helper method to check if the given byte buffer is a data message .