Diagnosis typically involves a combination of dermatological examination, biopsy, and imaging tests. A biopsy involves removing a small tissue sample from the suspicious area and examining it under a microscope. Imaging tests such as CT scans, MRIs, and PET scans are used to determine the extent of the spread.