Check if Service Mode/Non Service Mode with python API

Hi,

I’ve been searching the docs and unable to find an answer.
Is there a way to check if the Deadline launcher is currently on service mode/non service mode on deadline 10 with the deadline scripting api/standalone api?
A solution could be running a tasklist and parsing the information i need, but i was wondering if that information is already stored on deadline for me to grab.

Thanks!
Johnny