function getAfterHooksFromObject(reducerObject) {
  return removeKeyNamePartFromObject(
    pickBy(reducerObject, (value, key) => key.endsWith('AFTER')), '_AFTER');
}
Gets an object that conists of only the _AFTER hooks. _AFTER will be removed from the key
@param {Object} reducerObject - the reducer to get the _AFTER hooks from