This could be written as:
```js
return this.currentActivity && this.currentActivity.source.data;
```