private static boolean shouldDisplayHangWarning(DebuggerSettings settings, List<DebuggerSession> sessions) {
    if (!settings.HOTSWAP_HANG_WARNING_ENABLED) {
      return false;
    }
    // todo: return false if yourkit agent is inactive
    return ContainerUtil.exists(sessions, DebuggerSession::isPaused);
  }
private static boolean shouldDisplayHangWarning(DebuggerSettings settings, List<DebuggerSession> sessions)