pub fn check_module_payload(bytes: &[u8]) -> Result<()>
Validate an outgoing module payload before it is handed to a transport or a tool.