Sentence:  It had <WSD>been</WSD> a mistake , but anything would have been a mistake , as it turned out . 
Meaning of the word marked with <WSD> tags:  have the quality of being; (copula, used with an adjective or a predicate noun)