boolean (@Nullable PsiSwitchLabelStatementBase label) { return getPrevSiblingOfType(label, PsiStatement.class) instanceof PsiSwitchLabelStatement || getNextSiblingOfType(label, PsiStatement.class) instanceof PsiSwitchLabelStatement; }