docs: def payload_status_set(klass, pid, status):
      """is used to update the current status of a registered payload.
      The <class> and <id> provided must match a payload that has been previously
      registered with juju using payload-register. The <status> must be one of the
      follow: starting, started, stopping, stopped"""
      cmd = ['payload-status-set']
      for x in [klass, pid, status]:
          cmd.append(x)
      subprocess.check_call(cmd)