[SOLVED] Can you help make this value_template line shorter?

Hi, can anyone help me make this value_template line shorter somehow? Or, allow me to break it down to span multiple lines so it’s not so long?

##################################################################
- alias: bedroom lights by button
##################################################################
  initial_state: true
  trigger:
    platform: mqtt
    topic: zigbee2mqtt/0x0001010101010101
  condition:
    condition: template
    value_template: "{{ ( 'single' in trigger.payload or 'double' in trigger.payload or 'triple' in trigger.payload or 'quadruple' in trigger.payload or 'many' in trigger.payload or 'long' in trigger.
payload ) and 'long_release' not in trigger.payload }}"
  action:
    service: switch.toggle
    entity_id: switch.bedroom_lights

I figured it out. This works great.

value_template: "{{ trigger.payload | regex_match('.*\"(single|double|triple|quadruple|many|long)\".*') }}"