Where does the phrase "are you dancing?, are you asking? well I'm asking. Then I'm dancing" come from?

I think it's from a film Gene Kelly or Fred Astaire?
9 answers 9