You'd better check the application_ here:
```if (!application_) return false;```