Anaplasia is detected through microscopic examination of tissue samples. Histopathologists use various staining techniques, such as Hematoxylin and Eosin (H&E) staining, to visualize and assess the morphological features of the cells. Immunohistochemical markers may also be employed to identify specific proteins that are expressed differently in anaplastic cells compared to normal cells.