docs: function isFlat(object) {
    return isObject(object) && (isNull(Object.getPrototypeOf(object)) ||
                                isNull(Object.getPrototypeOf(
                                       Object.getPrototypeOf(object))));
  }