def is_string(obj):
return is_text_string(obj) or is_binary_string(obj)<EOL>
Return True if `obj` is a text or binary Python string object,
    False if it is anything else, like a QString (Python 2, PyQt API #1)