boolean (@NotNull PsiSwitchLabelStatementBase label) { PsiCaseLabelElementList labelElementList = label.getCaseLabelElementList(); if (labelElementList == null) return false; PsiCaseLabelElement[] elements = labelElementList.getElements(); return ContainerUtil.exists(elements, el -> el instanceof PsiExpression expr && ExpressionUtils.isNullLiteral(expr)); }