has_children: Checks if a node in a graph has children
Description
This function validates if the node has an edge pointing
to any other node.
Usage
has_children(graph, nodes)
Value
A logical vector with the same length as nodes
Arguments
- graph
A graph object
- nodes
A character vector of nodes to determine