"dirty" equivalent for changed component parameters

Would it be possible to add a new attribute to components similar to the “dirty” read only attribute that is applicable to added parameters? So in the same way that changing something inside a component would flag it as dirty, so adding, removing or changing something about a custom parameter would turn on a similar bool attribute, like parDirty or something?

I’m testing around with modular tox saving workflows and trying to make sure any changes are able to be tracked.