Random Start + Stop

Sorry for all the questions…
Is there a way to have a movie randomly play and pause?
I tried looking for a random command and found random.math and random.depricated
I’m guessing that i could set some kind of a function where if the number selected was even then play if odd then stop… but once the movie stops the scripts stops too… is there perhaps a PAUSE and CONTINUE of some sort?