def set_label(self, s, label):
        self.state.body_labels[self.bodies[self.index].segment_id] = label
        self.set_index(self.index + 1)
def _toggle_ignoring_sigint_v2_engine(self, toggle: bool):
        with self._ignore_sigint_lock:
            self._ignoring_sigint_v2_engine = toggle