def _freeze_static(self) -> None:
    self.is_static = True
    self._freeze_sets()
    self.all_states = False
def _freeze_static(self) -> None:
    self.is_static = True
    self._freeze_sets()
    self.all_states = False