def _is_pyrsistent(obj):
    return isinstance(obj, (PRecord, PClass, PMap, PSet, PVector))
Given current state of our DBM ('samples'), sample the values taken by
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/_persistence.py/_is_pyrsistent--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/scripts/dbm/dbm_metrics.py/sample_hi_given