How to know if Appium is running with Python or Windows command?

ENVIRONMENT:

Pyhon 10

Windows11

I have some issues with my appium python code. I suspect Appium server was not running. I am searching a way (in Python or with a Windows command) to know if Appium server is running fine.

I searched for a solution here and in Google but I couldn’t find a piece of code in Python, neither a Windows command.

Does anyone know how to check if Appium server is running withou issue?