ot::ChildTable::HasChildren() const method
Indicates whether the child table contains any child matching a given state filter.
Arguments
aFilter
A child state filter.
Return value
TRUE if the table contains at least one child table matching the given filter, FALSE otherwise.