boolean (@NotNull ASTNode node) { final PsiElement element = node.getPsi(); final PyConditionalStatementPart conditionalStatement = as(element.getParent(), PyConditionalStatementPart.class); return conditionalStatement != null && conditionalStatement.getCondition() == element; }