```
if not return_generator:
    stcs = list(stcs)

return stcs
```
one issue with the if on one line is that it breaks coverage analysis. I prefer to avoid it when I can.