def _isstr(s):
    try:
        _basestring = basestring
    except __HOLE__:
        _basestring = str
    return isinstance(s, _basestring)


# If any parameter is a string, parse it as JSON
dataset/ETHPy150Open memphis-iis/GLUDB/gludb/versioning.py/_isstr