@Contract(value = "null, _ -> false", pure = true)
  public static boolean isUnconditionalForType(@Nullable PsiCaseLabelElement pattern, @NotNull PsiType type) {
    return isUnconditionalForType(pattern, type, false) && !isGuarded(pattern);
  }
@Contract(value = "null, _ -> false", pure = true)
  public static boolean isUnconditionalForType(@Nullable PsiCaseLabelElement pattern, @NotNull PsiType type)