boolean (@NotNull PsiElement element) { PsiErrorElement errorElement = as(element, PsiErrorElement.class); return errorElement != null && PyParsingBundle.message("PARSE.expected.colon").equals(errorElement.getErrorDescription()); }