Diagnosing IMTs involves a combination of imaging studies and biopsy. Imaging techniques such as CT scans and MRI are used to determine the size and location of the tumor. A definitive diagnosis is usually made through a biopsy, where a sample of the tumor is examined under a microscope. Immunohistochemical staining is often used to detect ALK protein expression, confirming the presence of ALK gene rearrangements.