boolean (@Nullable PsiStatement statement) { if (!(statement instanceof PsiBlockStatement blockStatement)) { return isUnlabeledBreakStatement(statement); } final PsiCodeBlock codeBlock = blockStatement.getCodeBlock(); final PsiStatement firstStatement = ControlFlowUtils.getOnlyStatementInBlock(codeBlock); return isUnlabeledBreakStatement(firstStatement); }