def isstr(x):
    return isinstance(x, basestring) or isinstance(x, np.flexible)


# 
# fns to resolve input polymorphism to the dist_*_* fns
#
Returns True if `x` is an instance of a string.
dataset/ETHPy150Open inpho/vsm/vsm/viewer/types.py/isstr