Ответ:

Was there a dog in the shop?

Yes, there was.