code: function lomValidData(lomp, data)
  {
  	var k, i;
  
  	mod_assert.ok(data.hasOwnProperty('results'));
  	mod_assert.ok(Array.isArray(data.results));
  	mod_assert.bool(data.done);
  
  	if (data.done === false)
  		mod_assert.ok(data.results.length > 0 ||
  		    lomp.lom_pushed > 0);
  
  	for (k in data) {
  		if (!data.hasOwnProperty(k))
  			continue;
  		for (i = 0; i < LOM_RES_KEYS.length; i++) {
  			if (LOM_RES_KEYS[i] === k)
  				break;
  		}
  
  		mod_assert.ok(i < LOM_RES_KEYS.length,
  		    sprintf('unknown result key: %s', k));
  	}
  }
docs: /*
  Valid data objects are those which only have two keys: done and
  results.