detecting if a movie has an associated SRT file

hi folks
I've tried to figure it out how to detect if inside a given folder full of movies, every movie has its SRT file and if not, then run an apple script to search for it.
The online srt search script part works flawlessly, but i'm stuck on detecting if a movie lacks of srt file.
Preconditions:
- just one folder full of movies
- some movies got srt file, some not
- if present, the srt file has the same name than the movie (Golden_Eye_.mkv, Golden_Eye.srt)
please, any hint would be much appreciated
I've tried to figure it out how to detect if inside a given folder full of movies, every movie has its SRT file and if not, then run an apple script to search for it.
The online srt search script part works flawlessly, but i'm stuck on detecting if a movie lacks of srt file.
Preconditions:
- just one folder full of movies
- some movies got srt file, some not
- if present, the srt file has the same name than the movie (Golden_Eye_.mkv, Golden_Eye.srt)
please, any hint would be much appreciated