boolean (@NotNull PsiLabeledStatement labeledStatement, @Nullable PsiMethod method) { final PsiStatement statement = labeledStatement.getStatement(); if (statement == null) { return false; } return statementMayCompleteNormally(statement, method) || statementContainsBreakToStatementOrAncestor(statement); }