You may add a flipflop to toggle between states. Whenever an exec signal occurs, the flipflop change (and hold) state. In the following schematic, the system prints true or false to determine overlapping states