You don't "check". You assume.
try:
for var in some_possibly_iterable_object:
# the real work.
except TypeError:
# some_possibly_iterable_object was not actually iterable
# some other real work for non-iterable objects.
It's easier to ask forgiveness than to ask permission.