Check a process is running with Salt Stack?
It's a bit hacky, but you can always do something like:

check_process:
  cmd.run:
    name: ps aux | grep '[f]oobar'


The exit code will be non-0 and the state will fail if foobar doesn't exist.