def is_agent_running(self, fail_if_running=False, fail_if_not_running=False):
Returns true if the agent service is running, as determined by this platform implementation.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/platform_controller.py/PlatformController.is_agent_running