<s>[INST] I'm looking for a way to check if a certain Python script is running. I can get the list of running processes using `ps -ef` command, but I'm not sure how to proceed from there. I can also use Python's `subprocess` module, but how can I make it return the output as a list or dictionary so that I can easily query it?[/INST]