isDirty(item) {
      return this._dirtyAll || !item._svg || !item._svg.ownerSVGElement || item.dirty === this._dirtyID;
    }
Check if a mark item is considered dirty.
@param {Item} item - The mark item.