We know that response.data is an array here, could we check its length? 

```js
if (response.data.length > 0 && Array.isArray(response.data[0].fql_result_set)) {
```