function notCategory(category) {
  return function (e) {
    return (category === null || e.category !== category) && category !== 'all';
  };
}
Returns a new function that is true if value is NOT the same category
@param {string} category
@returns {function}