I know that there are a couple of ways to complete that task using psutil or win32ui modules. But I wonder if there's an option to do that using Python built-in modules only? I have also found this question:
Check if PID exists on Windows with Python without requiring libraries
But in this case the object is located by PID and I want to do it using process name.