class_docstr: We use subprocess to simulate job launch locally. Python's subprocess.Popen
  has already provided us all the necessary APIs to control subprocess, we
  just need to call them here.
class_docstr_tok: ["We","use","subprocess","to","simulate","job","launch","locally",".","Python","'s","subprocess.Popen","has","already","provided","us","all","the","necessary","APIs","to","control","subprocess",",","we","just","need","to","call","them","here","."]
code: def get_job_status(self, job):
      proc = job.data
  
      if proc.poll() is not None:
          # subprocess has terminated
          return ProcessStatus.STOPPED
  
      return ProcessStatus.STARTED
  
file_path: fiber/fiber/local_backend.py
imports: import subprocess
  import fiber.core
  from fiber.core import ProcessStatus
label_desc: Use image node_id 3 for calling the Backend obj's underlying member method code with example usage: obj.get_job_status(job) and returns: ProcessStatus, ProcessStatus