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
I found a nice solution here:
isiterable = lambda obj: isinstance(obj, basestring) \ or getattr(obj, '__iter__', False)