docs: def getPID(self):
          """ Returns the PID for the associated app
          (or -1, if no app is associated or the app is not running)
          """
          if self._pid is not None:
              if not PlatformManager.isPIDValid(self._pid):
                  self._pid = -1
              return self._pid
          return -1