Search for a word in the attribute of an sensor

I have this trakt.tv sensor and I want a sensor that tells me if there is an episode of Top Gear in the next to watch sensor. Is there away I can do this?

Sensor name:


sensor.trakt_next_to_watch_all

Attribute:


data: 

  - title: Top Gear
    poster: https://image.tmdb.org/t/p/w500/aqM6QnuhSXzjHlKbXyKUqxaGiWu.jpg
    fanart: https://image.tmdb.org/t/p/w500/mCZEHiyPkmsw3MDBNuiN5z85gs8.jpg
    genres:
      - Talk
      - Action & Adventure
      - Comedy
      - Documentary
    rating: 7.4
    studio: BBC One
    release: $day, $date $time
    airdate: "2017-03-19T20:00:00Z"
    episode: Episode 3
    number: S24E03
  - title: Billions
    poster: https://image.tmdb.org/t/p/w500/bD8I9H67IOOLojcG2INUbhL7vRZ.jpg
    fanart: https://image.tmdb.org/t/p/w500/jFclWhCwbW6r7ecQ3vF83QXnEWJ.jpg
    genres:
      - Drama
    rating: 7.743
    studio: Showtime
    release: $day, $date $time
    airdate: "2017-03-27T00:00:00Z"
    episode: Indian Four
    number: S02E06

{{ state_attr('sensor.trakt_next_to_watch_all', 'data')
| map(attribute='title')| map('lower') | select('eq', 'top gear')
| list | count > 0 }}

Thank you so much :smile:

This solved my problem :pray: