'Return whether the thread is alive.
This method returns True just before the run() method starts until just
after the run() method terminates. The module function enumerate()
returns a list of all alive threads.'

def isAlive(self):

    assert self.__initialized, 'Thread.__init__()    not    called'
    return (self.__started.is_set() and (not self.__stopped))
