Return whether or not the nodes in nbunch comprise a total dominating set.
A * total dominating set* is a set of nodes with the property that every node in the graph is adjacent to some node in the set.
- G (NetworkX graph) – An undirected graph.
- nbunch – A single node or iterable container or nodes.
True if the nodes in nbunch comprise a k-dominating set, and False otherwise.