Hmm, and would enabling the specific filter also enable the master setting?
Yes and without a way to get the current master setting you run the risk of changing the current setting.
It would be easy to disable all smart filters in a document. It would also be easy to enable all smart filters. The problem is you can not determine the current state of the filter so you can not restore to the pervious condition.
You might be able to come up with something using historyStates or snapshots but I think it would be very fragile.