I think the `else` is needed. The logic is choosing one command or the other to run, either to get all distarray keys and skip the ones for this context (for the `all_other_contexts == True` case), or to get the distarray keys just for this context (for the `else` case.)

Note that the first case is getting all keys with names starting with `_distarray_key`, ignoring the part of the name with the context id, and explicitly discarding those from this context, while the second case (`else`) is getting the keys with the desired context name in them.