I believe the best way to check this would be:

```
if not systems
```

But I am no Python expert.