```
var allowThirdData = angular.isDefined(layersParamValue) &&
    layersParamValue.match(/(KML\|\||WMS\|\|)/g)) &&
    confirm($translate('third_party_data_warning'));
```

but it's up to you.