docstr: Verify the job script is correctly set - for local machine running only
  
  :return: whether all paths are set correctly
  :rtype: bool
code: def verify_local(self):
      """
      Verify the job script is correctly set - for local machine running only
  
      :return: whether all paths are set correctly
      :rtype: bool
      """
      job_path = os.path.join(self.path, "jobs")
      script = os.path.join(
          self.path, self.script.split()[0]
      )  # avoid additional arguments in the script
      if not os.path.isdir(self.path):
          msg = "Working folder %s does not exist" % self.path
          logger.fatal(msg)
          raise EnvironmentError(msg)
  
      if not os.path.exists(
          job_path
      ):  # job config file dir, also used in ResourceManagers.
          logger.warning("Create missing directory %s", job_path)
          os.makedirs(job_path)
      logger.debug("Create Job %s", script)
  
      if not os.path.isfile(script):
          logger.fatal("Job script %s is not exist", self.script)
          raise EnvironmentError("Missing script")
      if not os.access(script, os.X_OK):
          logger.fatal(
              "Job script is not executable, try `chmod u+x %s`"
              % self.script
          )
          raise EnvironmentError(
              "Wrong permission for %s" % self.script
          )
      return True
  
file_path: auptimizer/src/aup/EE/Job.py
imports: import logging
  import os
  import stat
  from time import sleep
  from ..utils import open_sftp_with_timeout
label_desc: Use image node_id 2 for calling the Job obj's underlying member method code with example usage: obj.verify_local() and returns: True