As already said, I think we should rely on the gaLayers service here.

```
var timestamps;
if (!!gaLayers.getLayer(olLayer.get('id')) {
  timestamps = gaLayers.getLayerProperty(id, 'timestamps');
}
```