isRunning

Checks whether the task is running.