def is_iterable_but_not_string(obj):
 return (is_iterable(obj) and (not hasattr(obj, 'strip')))

def is_iterable_but_not_string ( obj ) : return ( is_iterable ( obj ) and ( not hasattr ( obj , 'strip' ) ) )
return true if obj is an iterable object that isnt a string .