OK. If you're going to do that, you should check the extensions directly:

```
if (it.extensions.findByName("android")) {
 ...
}
```