Sorry, got it back to front, maybe:

```
&& !excludedNames.collect{ "gml:${it}" }.contains(elementName)
```
but that's less readable I think.