def is_list_like(value):
 return (isinstance(value, Iterable) and (not isinstance(value, (base, dict))))

def is_list_like ( value ) : return ( isinstance ( value , Iterable ) and ( not isinstance ( value , ( base , dict ) ) ) )
return whether value is an iterable but not a mapping / string .