public static boolean isTerminationStreamCall(@NotNull PsiMethodCallExpression expression) {
    return checkStreamCall(expression, true, false);
  }
public static boolean isTerminationStreamCall(@NotNull PsiMethodCallExpression expression)