boolean (@NotNull PsiElement element) { // extension ordering in python-plugin-common.xml ensures that classes and functions are handled by their own processors return element instanceof PyElement && !(element instanceof PyReferenceExpression); }