Implement has_children callback