original_docstring: 
          Check if the process holding the actor is still alive
          
docstring: Check if the process holding the actor is still alive
docstring_tokens: Check if the process holding the actor is still alive
code: def is_actor_process_alive(self, actor_ref):
          """
          Check if the process holding the actor is still alive
          """
          proc_idx = self.ctx.distributor.distribute(actor_ref.uid)
          pid = self._proc_pids[proc_idx]
          if pid in self._killed_pids:
              return False
          return psutil.pid_exists(pid)
code_tokens: def is_actor_process_alive ( self , actor_ref ) : proc_idx = self . ctx . distributor . distribute ( actor_ref . uid ) pid = self . _proc_pids [ proc_idx ] if pid in self . _killed_pids : return False return psutil . pid_exists ( pid )
short_docstring: Check if the process holding the actor is still alive
short_docstring_tokens: Check if the process holding the actor is still alive
comment: """
          Check if the process holding the actor is still alive
          """