function isNotEmpty(thing) {
  return isSimpleObject(thing) && Object.keys(thing).length > 0
}
Convenience function to test if an object is not empty

@param {object} thing Value to be tested
@returns {boolean} true if the value is an object, not null, and has keys