Just use the Galileo Test.
It’s the test I use to discern whether people will defend religion (or “belief in belief”) at all costs, regardless of the facts, or argue that there is no contradiction between science and religion.
Here’s how the test works: just ask someone acquainted with Galileo’s dispute with the Church what, exactly, that dispute involved.
Faitheists, accommodationists, and theists will invariably say that religion played a trivial, or even no, role in that affair. It was about politics, or Pope Urban’s ambiguous relationship with Galileo, or Church intrigue—anything but religion. People who say this cannot be trusted to render a rational judgment on the role of religion, for they are blinkered.
If someone is honest, they’ll tell you that religion played a major role in this controversy, for Galileo was explicitly persecuted because his claims about the solar system contravened those of scripture. Without that contradiction, there would have been no problem.
Now, there’s no denying that other factors exacerbated this dispute. In his dialogue, for instance, Galileo put the Pope’s defense of a geocentric universe into the mouth of the fool Simplicio. That wouldn’t have pleased Urban! But if you read the history of this episode—and I’ve now read quite a bit—the involvement of the scripture/science contradiction is strong and palpable. Cardinal Bellarmine repeatedly warned Galileo to stop contradicting Scripture, and even Pope Urban told Galileo to lay off overt heliocentrism. If there had been no Biblical text arguing for a geocentric universe, Galileo would not have been persecuted.
Unlike the Pope, this test really is infallible.
Note added in proof: Don’t forget that the Church finally admitted that it erred in condemning Galileo in 1992—359 years after they condemned him and centuries after we already knew that he was right and the Church was wrong!