Sentence:  As <WSD>luck</WSD> had it , he had not gone twenty feet in the street before Pat appeared . 
Meaning of the word marked with <WSD> tags:  an unknown and unpredictable phenomenon that causes an event to result one way rather than another