boolean (ThreadReferenceProxyImpl thread) { assertNotResumed(); if (isEvaluating()) { return false; } return switch (getSuspendPolicy()) { case EventRequest.SUSPEND_ALL -> !isExplicitlyResumed(thread); case EventRequest.SUSPEND_EVENT_THREAD -> thread == getThread(); default -> false; }; }