node module: an object structure predicate builder (make functions to test an object's structure)