code: static boolean isExternNamespace(Node n) {
      return n.getParent().isVar() && n.isFromExterns() && NodeUtil.isNamespaceDecl(n);
    }
docs: Returns true if n is the name of a variable that declares a namespace in an externs file.