Can I detect if previous bar is empty? Logical editor

Can I detect if previous bar is empty? If yes, set velocity to notes in the next 3 bars using Logical editor

Not specifically, but if you give a larger picture of what you’re trying to accomplish, maybe there is a way to automate it.