How can individual effects be toggled on selected clips using UXP?

Hi, I was wondering if it would be possible to add a way to programmatically toggle audio and video effects via the Component Class.

Some of the effects in my sequence are quite processor-intensive when editing clips, which slows down the performance. However, I can’t disable all effects globally via the toggle as some lighter effects are important to keep enabled during editing.

I therefore want to write a simple plugin that queries all the effects of the selected sequence items and gives the option to select a subset of these effects. Two buttons would then be used to enable or disable these selected effects on all the selected clips. So far, I haven’t found a way to toggle individual effects/components. It seems that only the parameters of effects/components can be controlled.

I would greatly appreciate your help.
Cheers, Tom