code: function isKvFormObject(obj) {
    const keys = Object.keys(obj);
    if (keys.length !== 2) {
      return false;
    }
    return !!~keys.indexOf('k') && !!~keys.indexOf('v');
  }
docs: Determines whether an object is in kv-form. This used by the reducers that must recognize this form and reduce those
  elements back into key-value form.
  
  This determination is made by simply checking that the object has exactly two properties and that they are named
  `k` and `v`.
  
  @private
  
  @param {object} obj The object to be tested.
  @return {boolean} Either `true` if the object is in kv-form or `false` if it isn't.