def has_children(obj_json, client):
    """Checks whether an archival object has children using the tree/node endpoint."""
    resource_uri = obj_json['resource']['ref']
    tree_node = client.get('{}/tree/node?node_uri={}'.format(resource_uri, obj_json['uri'])).json()
    return True if tree_node['child_count'] > 0 else False