docs: def running(self):
          """ Determines if daemon is active.
  
              Returns boolean.
              """
  
          # check if task is active and pid file exists
          return (not self._exited and os.path.isfile(self._pidfile)
                  and self._task.active)