code: def is_running(self):
          
          if self.block:
              return False
  
          return self.thread.is_alive() or self.process.poll() is None
docs: Check if the command is currently running
  
          Returns:
              bool: True if running, else False