void (final @NotNull PyCallExpression node) { final PyExpression callee = node.getCallee(); if (callee != null && "locals".equals(callee.getName())){ throw new DontPerformException(); } node.acceptChildren(this); // look at call expr in arguments }