def is_string(obj):
        return isinstance(obj, basestring)
For doctest
dataset/ETHPy150Open python-openxml/python-docx/docx/compat.py/is_string--crossover with--dataset/ETHPy150Open philipbergen/zero/py/zero/rpc.py/ZeroRPC._test_rpc