Merge changes I3ec31b66,I5071fa68 into main

* changes:
  Make VisualInterruptionFilter reason immutable and override in subclass
  Rename allow to calculateState since it no longer returns boolean