public static boolean isDefaultLabel(@Nullable PsiSwitchLabelStatementBase label) {
    if (label == null) return false;
    if (label.isDefaultCase()) return true;
    PsiCaseLabelElementList labelElementList = label.getCaseLabelElementList();
    if (labelElementList == null) return false;
    return ContainerUtil.exists(labelElementList.getElements(), element -> element instanceof PsiDefaultCaseLabelElement);
  }
public static boolean isDefaultLabel(@Nullable PsiSwitchLabelStatementBase label)