Is there a macro out there for warlocks that will only cast corruption, CoA, etc if the target doesnt currently have that spell cast on it from that particular warlock?

For example


Warlocks A-E

Warlock A casts corruption but B-E dont (out of range)

B-E get in range and the main character A casts corruption again, now applying the 4 other corruptions but wasting a cast on A since his corruption is already applied.