possible bikeshed, perhaps checking against `collections.Iterable` is worth it here? Not sure what future use cases exist.