'@return: True if process is still running
@rtype: bool'

def is_alive(self):

    if (not self.started):
        return True
    if (self.stopped or (self.popen is None)):
        return False
    self.exit_code = self.popen.poll()
    if (self.exit_code is not None):
        return False
    return True
