function isEmpty (object) {
  for (const key in object) {
    // Should iterate only once
    if (hasOwn(object, key)) {
      return false
    }
    return true
  }
}
Checks to see if objects in empty
@param {Object} object