'Return whether process is alive'

def is_alive(self):

    if (self is _current_process):
        return True
    else:
        if (self._popen is None):
            return False
        self._popen.poll()
        return (self._popen.returncode is None)
