@property
  def is_killed(self):
    return self._kill_switch.is_set()
A `threading.Event`-checking property to facilitate graceful shutdown of services.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/pantsd/service/pants_service.py/PantsService.is_killed