human
Write me a Python program to determine if a process is running.
assistant
Here is a Python program to determine if a process is running

import os

def is_running():
    """
    Determine if process is running.
    """
    return os.popen("ps -o pid,cmd | grep -i 'python'").read().strip()!= ""

# Enter the process id
pid = 12345

# Calling the function
print((is_running()))

#Example Output
# True

#Remember to inspect code for bugs.