def _is_pyrsistent(obj):
    return isinstance(obj, (PRecord, PClass, PMap, PSet, PVector))
Boolean check if an object is an instance of a pyrsistent object.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/_persistence.py/_is_pyrsistent