def _validator(self, value):
        return isinstance(value, dict) and value.get(b'path') in (b'foo', b'bar', b'boo', b'baz')
dataset/ETHPy150Open jborg/attic/attic/testsuite/archive.py/RobustUnpackerTestCase._validator/original