code: def must_stop(self, fail_fast: bool, fail_env_changed: bool) -> bool:
      if State.must_stop(self.state):
          return True
      if fail_fast and self.is_failed(fail_env_changed):
          return True
      return False
  
imports: import dataclasses
  import json
  from typing import Any
  from .utils import StrJSON, TestName, FilterTuple, format_duration, normalize_test_name, print_warning
label_desc: Use image node_id 6 for calling the TestResult obj's underlying member method code with example usage: obj.must_stop(fail_fast, fail_env_changed) and returns: False, True, True