public boolean suspends(@NotNull ThreadReferenceProxyImpl thread) {
    assertNotResumed();
    if (myEvaluationContext != null && thread == myEvaluationContext.getThreadForEvaluation()) {
      return false;
    }
    return switch (getSuspendPolicy()) {
      case EventRequest.SUSPEND_ALL -> !isExplicitlyResumed(thread);
      case EventRequest.SUSPEND_EVENT_THREAD -> thread == myThread;
      default -> false;
    };
  }
public boolean suspends(@NotNull ThreadReferenceProxyImpl thread)