The presence of cancer is confirmed by the removal of polyps detected in the large intestine during a colonoscopy and their submission for pathological examination.