# grinpy.invariants.zero_forcing.is_zero_forcing_vertex¶

grinpy.invariants.zero_forcing.is_zero_forcing_vertex(G, v, nbunch)

Return whether or not v can force relative to the set of nodes in nbunch.

G : graph
A Networkx graph.

v: a single node in G

nbunch: a single node or iterable container of nodes in G.

isForcing : bool
True if v can force relative to the nodes in nbunch. False otherwise.