def isString(s):
    if not isinstance(s, util.AtomicString):
        return isinstance(s, util.string_type)
    return False
Check if it's string
dataset/ETHPy150Open dragondjf/QMarkdowner/markdown/treeprocessors.py/isString