Is there a way to programically (probably python?) to get the path property of a service published to an ArcGIS Server?

I found this piece of python:
for dir in [None] + SD.folders:
for srv in SD.list(folder=dir):
print(str(srv.properties))
It gets properties of the services (seems to be the same as you can get by going to the rest end point), but none of these properties is the original mxd path..