Sentence:  The doctor shot down to the lavatory and turned the doorknob , but to no effect : the lavatory <WSD>was</WSD> occupied . 
Meaning of the word marked with <WSD> tags:  have the quality of being; (copula, used with an adjective or a predicate noun)