hasMatrixTransform = tlist => {
  if (!tlist) return false
  for (let i = 0; i < tlist.numberOfItems; i++) {
    const xform = tlist.getItem(i)
    if (
      xform.type === SVGTransform.SVG_TRANSFORM_MATRIX &&
      !isIdentity(xform.matrix)
    ) {
      return true
    }
  }
  return false
}
Checks if a transform list includes a non-identity matrix transform.
@function hasMatrixTransform
@param {SVGTransformList} [tlist] - The transform list to check
@returns {boolean} True if a matrix transform is found