code: function hasEmptyProperty(obj) {
    return Object.keys(obj)
      .map(key => obj[key])
      .every(
        keyObject =>
          typeof keyObject === 'object' &&
          Object.keys(keyObject).every(key => !(key in keyObject))
      );
  }
docs: Checks if there is any properties of @obj that is a empty object
  @function
  @param {object} obj - the object to check