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


# 
# fns to resolve input polymorphism to the dist_*_* fns
#
Returns True if the case was closed, False otherwise.
dataset/ETHPy150Open inpho/vsm/vsm/viewer/types.py/isstr--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/data_interfaces/models.py/AutomaticUpdateRule.apply_rule