Check if ITERATOR def is_iter(obj): return hasattr(obj, '__iter__') and hasattr(obj, '__next__') 2022-11-25 by myriad x 0