Remove unused XModuleDescriptor.get_sample_state method