def child_visibility(appliance, network_provider, relationship, view):
    network_provider_view = navigate_to(network_provider, 'Details')
    if network_provider_view.entities.relationships.get_text_of(relationship) == "0":
        pytest.skip("There are no relationships for {}".format(relationship))
    network_provider_view.entities.relationships.click_at(relationship)
    relationship_view = appliance.browser.create_view(view)
    try:
        if relationship != "Floating IPs":
            assert relationship_view.entities.entity_names
        else:
            assert relationship_view.entities.entity_ids
        actual_visibility = True
    except AssertionError:
        actual_visibility = False

    return actual_visibility