docstr: State of the job
code: def state(self) -> str:
      """State of the job"""
      try:
          return self.get_info().get("jobState", "unknown")
      # I don't what is the exception returned and it's hard to reproduce
      except Exception:  # pylint: disable=broad-except
          return "UNKNOWN"
  
imports: import os
  import shlex
  import signal
  import subprocess
  import sys
  import time
  import typing
  from pathlib import Path
  from ..core import core, job_environment, logger, utils
  from ..core.core import R
label_desc: Use image node_id 3 for calling the LocalJob obj's underlying member method code with example usage: obj.state() and returns: self, str