boolean (@Nullable PsiElement expression) { if (!(expression instanceof PyPrefixExpression)) { return false; } final PyElementType op = ((PyPrefixExpression)expression).getOperator(); return op == PyTokenTypes.NOT_KEYWORD; }