Before I roll my own, I was wondering if there is code that detects whether the edit contains automation data?
I can scan through the edit data easily enough, but it occurred to me that maybe there was already a built-in function for this. But, I have not found it.
getAllAutomatableEditItems and isAutomationNeeded are kind of shortcuts as rather than iterating all the parameters they get just the AutomatableEditItems (Plugins, Modifiers etc.) and return if any of their parameters have automation.