# grinpy.invariants.zero_forcing.is_k_forcing_active_set¶

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

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

Parameters: G (NetworkX graph) – An undirected graph. nbunch – A single node or iterable container or nodes. k (int) – A positive integer. True if at least one of the nodes in nodes can k-force. False otherwise. boolean