<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_running(self):
 """ Check if the command is currently running Returns: bool: True if running, else False """

        if self.block:
            return False

        return self.thread.is_alive() or self.process.poll() is None