The types of triggers are detected by the above 3 boolean vars `if_start`, `if_end` and `if_any`, which indicate if the IA has a **potential** match for any of those trigger types.