as luck would have it

definition: by good fortune
example:
speech part: adverb
synonyms: fortunately

How as luck would have it is being used?