Weakauras Help: Clearcasting & Regrowth LUA

Hello looking for some help with setting up a weakaura to help improve my Resto Druid gameplay.

Currently I have a macro that plays a bad sound when I use regrowth outside 2 optimal conditions.

I am trying to add a trigger (either custom LUA or stock) that would deactivate the function/sound when I have the Clearcasting aura available. (Clearcasting allows for free regrowth casting thus no longer “bad”)

Here is what I have so far

function(trigger)
if trigger[1] == true
then
return false
else
return trigger[2] and (trigger[3] or trigger[4])
end
end

Trigger 1 = Clearcasting Aura Active
Trigger 2 = Regrowth Cast
Trigger 3 = Abundance Aura missing
Trigger 4 = Abundance Aura stacks < 4

I believe the challenge I am having is that Regrowth CONSUMES the Clearcasting Aura. So when the Regrowth cast has been registered, the Clearcasting Aura is no longer available and the Weakaura thinks I’ve casted my Regrowth without Abundance or Clearcasting.