code: def remove_jobs(self, mask):
          
          jobnames = self.table[mask]['jobname']
          jobkey = self.table[mask]['jobkey']
          self.table[mask]['status'] = JobStatus.removed
          for jobname, jobkey in zip(jobnames, jobkey):
              fullkey = JobDetails.make_fullkey(jobname, jobkey)
              self._cache.pop(fullkey).status = JobStatus.removed
          self.write_table_file()
docs: Mark all jobs that match a mask as 'removed'