def isString(s):
    " Check if it's string "
    if (not isinstance(s, util.AtomicString)):
        return isinstance(s, str)
    return False
Check if it's string
def isString(s):
    "  "
    if (not isinstance(s, util.AtomicString)):
        return isinstance(s, str)
    return False