code: def need_rerun(self):
      return bool(self.rerun_results)
  
file_path: cpython/Lib/test/libregrtest/results.py
imports: import sys
  import trace
  from .runtests import RunTests
  from .result import State, TestResult, TestStats, Location
  from .utils import StrPath, TestName, TestTuple, TestList, FilterDict, printlist, count, format_duration
label_desc: Use image node_id 9 for calling the TestResults obj's underlying member method code with example usage: obj.need_rerun() and returns: bool