isRunning can be a const function.