Diagnosis typically involves a combination of imaging tests such as chest X-rays and CT scans, followed by a biopsy to confirm the presence of cancerous cells. Additional tests such as PET scans and MRI may be used to determine the extent of the disease and whether it has spread to other parts of the body.