function isPaletteClick(event) {
  var target = event.originalEvent && event.originalEvent.target;

  return target && domClosest(target, '.group[data-group="tools"]');
}
Check if a given event is a palette click event.

@param {Event} event

@return {boolean}