I have declared an interruption but I want to execute it only when one boolean variable is equal to true.
Other words: