No. It works for religion too.
Well, for the time period when Twain lived, it wasn't really safe to criticize religion in that way at that time. So, I'll both agree with you and give Twain a pass, as he did indirectly criticize religion in the stories he wrote