code: def need_latex_rerun(self):
          '''
          Test for all rerun patterns if they match the output.
          '''
          for pattern in LATEX_RERUN_PATTERNS:
              if pattern.search(self.out):
                  return True
          return Falsf need_latex_rerun(self):
          '''
          Test for all rerun patterns if they match the output.
          '''
          for pattern in LATEX_RERUN_PATTERNS:
              if pattern.search(self.out):
                  return True
          return False
docs: Test for all rerun patterns if they match the output.