Change to
```cpp
bool IsWorking() const { return work; }
```