def is_indexable_but_not_string(obj):
    return not hasattr(obj, "strip") and hasattr(obj, "__iter__")
dataset/ETHPy150Open flask-restful/flask-restful/flask_restful/fields.py/is_indexable_but_not_string/original