code: def unlabel_rigid_bodies(self):
          
          self._check_if_contains_rigid_bodies = True
          for child in self.children:
              child._check_if_contains_rigid_bodies = True
          for particle in self.particles():
              particle.rigid_id = None
docs: Remove all rigid body labels from the Compound