...following on from [the comment above](https://github.com/openlayers/ol3/pull/1693/files#r9728894), an explicit test here:
```js
if (hints