Sentence:  The trouble <WSD>was</WSD> that he had virtually had to protest . 
Meaning of the word marked with <WSD> tags:  have the quality of being; (copula, used with an adjective or a predicate noun)