@Override
        public void visitPyReferenceExpression(@NotNull PyReferenceExpression node) {
          super.visitPyReferenceExpression(node);

          final String name = node.getName();
          if (name != null && ControlFlowCache.getScope(scopeOwner).containsDeclaration(name)) {
            isValid[0] = false;
          }
        }
@Override
        public void visitPyReferenceExpression(@NotNull PyReferenceExpression node)