Type guard to check if a message is private.