Please use the script to know whether a service is running or not.
def IsServiceRunning(serName):
import os
proObj = os.popen('TASKLIST /svc /FI "Services eq '+serName+'"')
runServices = proObj.read()
return runServices
## pass your service name as a argument in "print IsServiceRunning('<b>arg-service-name</b>')"
print IsServiceRunning('Power')
Sample Output: