I came across the following sentence in a website:
This sentence seems to have two topic particles: 人々 is the topic of the main sentence because "people thought something" (人々は...考えました). The と particle marks what people thought, which was the sentence 月はチーズの球だ. This sentence has a different topic and therefore another は. Is this analysis correct? Is this sentence I've found grammatically correct?