def is_path(f):

    if bytes is str:
        return isinstance(f, basestring)
    else:
        return isinstance(f, (bytes, str))
Determines if the passed argument is a string or not, if is a string
dataset/ETHPy150Open thisissoon/Flask-Store/flask_store/utils.py/is_path