use slightly better _isString() subtype check in Py2