function isEmpty(object) {
  let property;
  for (property in object) {
    return false;
  }
  return !property;
}
Determine if an object has any properties.
@param {Object} object The object to check.
@return {boolean} The object is empty.