Python Check Is Iterator

June 7, 2019
import collections

isinstance(obj, collections.Iterable):
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.