How to setup template with multiple attributes found from "is search"?

I’m trying to set up a sensor that returns “True” if any search term (tornado, flood, wind, fire, OR storm) is found in the “title” attribute of the NWS Alerts integration.

The template {{ state_attr('sensor.nws_alerts', 'title') is search('Tornado', ignorecase=True) }} does work but Im not sure how to combine multiple searches within that template

The sensor Im trying to create should change to TRUE if it finds any of the terms within the Title attribute and FALSE if none are found:

     storm_alert:
       friendly_name: "Storm Alert"
       icon_template: mdi:weather-lightning-rainy
       value_template: >-
        {{ state_attr('sensor.nws_alerts', 'title') is search('Tornado', 'Flood', 'Wind', 'Fire', 'Storm', ignorecase=True)  }}

This doesn’t work because I believe there is no “any” function for jinja? Whats the best way of going about this?

Thanks!

Figured it out in a different way:

     storm_alert:
       friendly_name: "Storm Alert"
       icon_template: mdi:weather-lightning-rainy
       value_template: >
          {{ 'flood' in state_attr('sensor.nws_alerts', 'title') | lower or
             'fire' in state_attr('sensor.nws_alerts', 'title') | lower or
             'storm' in state_attr('sensor.nws_alerts', 'title') | lower or
             'wind' in state_attr('sensor.nws_alerts', 'title') | lower or
             'tornado' in state_attr('sensor.nws_alerts', 'title') | lower }}

| is the “either/or” metacharacter for the search() function.

storm_alert:
  friendly_name: "Storm Alert"
  icon: mdi:weather-lightning-rainy
  value_template: >
     {{ state_attr('sensor.nws_alerts', 'title') is 
     search('flood|fire|storm|wind|tornado', ignorecase=true) }}

even better, thanks!