Object oriented programming.
All you see is same code, however code you see in editor is not actually what is processed in game.
You have (probably) two different actors of same class, they have same code, but they are different copies of that code in memory.
So one copy has Is_Attack = True another copy has Is_Attack = False.
Ant then AND may be true.