This is fine, but you can also use `filter`, as in `gui_keys = tuple(sorted(filter(None, guis)))` if the `key for key in guis...` seems to verbose.