Can dogs smell cancer?

Hi all. I have recently had a biopsy on a lump on my Vulva and awaiting results. My dog over the past couple of weeks has been sniffing my private's. He was doing this before the Biopsy too. Is there a chance he is picking something up? Could it just be that he senses I'm sore? Has anyone else got stories about pets and them 'knowing' you are unwell? Did any of your pets sniff out cancer? I'm intrigued to know. Thanks