Diagnosis is usually based on results from ultrasonography imaging, validated by computed tornography or magnetic resonance imaging (MRI) scans. These imaging techniques can detect the presence of cysts, which can be further confirmed by serological tests that indicate antibodies specific for the cysts. Biopsies can provide differential diagnosis of cysts from tumors