dgl.DGLHeteroGraph.has_node

DGLHeteroGraph.has_node(vid, ntype=None)[source]

Whether the graph has a particular node of a given type.

DEPRECATED: see has_nodes()