Is there a method like isiterable? The only solution I have found so far is to call
isiterable
hasattr(myObj, \'__iter__\')
But I am not
Since Python 3.5 you can use the typing module from the standard library for type related things:
from typing import Iterable ... if isinstance(my_item, Iterable): print(True)