Sentence:  It was a good <WSD>thing</WSD> that she clung to her religion , he thought . 
Meaning of the word marked with <WSD> tags:  a special situation