# grinpy.invariants.zero_forcing.is_k_forcing_active_set¶

grinpy.invariants.zero_forcing.is_k_forcing_active_set(G, nbunch, k)

Return whether or not at least one node in nbunch can k-force.

G : graph
A Networkx graph.

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

k : int
A positive integer.
isActive : bool
True if at least one of the nodes in nbunch can k-force. False otherwise.