(self)
return not self._is_stopped
Return whether the thread is alive.

        This method returns True just before the run() method starts until just
        after the run() method terminates. See also the module function
        enumerate().
Return whether the thread is alive.
Return whether the thread is alive .
def is_alive(self):
        """Return whether the thread is alive.

        This method returns True just before the run() method starts until just
        after the run() method terminates. See also the module function
        enumerate().

        """
        assert self._initialized, "Thread.__init__() not called"
        if self._is_stopped or not self._started.is_set():
            return False
        self._wait_for_tstate_lock(False)
        return not self._is_stopped
def is_alive ( self ) : assert self . _initialized , "Thread.__init__() not called" if self . _is_stopped or not self . _started . is_set ( ) : return False self . _wait_for_tstate_lock ( False ) return not self . _is_stopped