boolean (PsiStatement statement) { if (!(statement instanceof PsiIfStatement ifStatement)) return false; if (ifStatement.getElseBranch() != null || ifStatement.getCondition() == null) return false; PsiStatement thenBranch = ControlFlowUtils.stripBraces(ifStatement.getThenBranch()); return thenBranch instanceof PsiBreakStatement && ((PsiBreakStatement)thenBranch).getLabelIdentifier() == null; }