def non_string_iterable(v): """Return whether the object is any Iterable other than str.""" return isinstance(v, Iterable) and not isinstance(v, str)