def project_up(B,create_using=None,name=None):
    if create_using:
        G=create_using
        G.clear()
    else:
        G=networkx.Graph()
    if name is not None:
        G.name=name

    for v,Bvnbrs in B.adjacency_iter():
       if B.node_type[v]=="Top":
          vname= -v   #Change sign of name for Top Nodes
          G.add_node(vname)
          for cv in Bvnbrs:
             # Note: -u changes the name (not Top node anymore)
             G.add_edges_from([(vname,-u) for u in B[cv] if u!=v])
    return G
Returns true if the graph contains a node with the given node
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/algorithms/clique.py/project_up--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/parse/dependencygraph.py/DependencyGraph.contains_address