@Contract(value = "null -> false", pure = true)
  public static boolean isEndlessLoop(@Nullable PsiConditionalLoopStatement loopStatement) {
    if (loopStatement == null) return false;
    if (loopStatement instanceof PsiForStatement forStatement) {
      PsiExpression condition = forStatement.getCondition();
      if (condition != null && !BoolUtils.isTrue(condition)) return false;
      return (forStatement.getInitialization() == null || forStatement.getInitialization() instanceof PsiEmptyStatement)
             && (forStatement.getUpdate() == null || forStatement.getUpdate() instanceof PsiEmptyStatement);
    }
    return BoolUtils.isTrue(loopStatement.getCondition());
  }
@Contract(value = "null -> false", pure = true)
  public static boolean isEndlessLoop(@Nullable PsiConditionalLoopStatement loopStatement)