function isMergeableOperation(kind) {
  return (
    kind === CommandKind.LAYER_LOCK ||
    kind === CommandKind.LAYER_FLIP_VERTICAL ||
    kind === CommandKind.LAYER_FLIP_HORIZONTAL ||
    kind === CommandKind.LAYER_VISIBILITY
  );
}
Indicates if an operation is mergeable
with an older same kind but opposite operation
@param {Number} kind
@return {Boolean}