function isKeyGriddleHook(key) {
  return (key === 'BEFORE_REDUCE' || key === 'AFTER_REDUCE' ||
    key.endsWith('AFTER') || key.endsWith('BEFORE'))
}
Determines if a given key is a Griddle hook reducer
@param {string} key - the key to check if it refers to a Griddle hook