[python] In Python, how do I determine if an object is iterable?