code: def check_jobs(jobs):
      
      if jobs == 0:
          raise click.UsageError("Jobs must be >= 1 or == -1")
      elif jobs < 0:
          import multiprocessing
  
          jobs = multiprocessing.cpu_count()
      return jobs
docs: Validate number of jobs.