'Verify that the container page shows that component visibility
settings have been edited if `is_set` is True; otherwise
verify that the container page shows no such information.'

def verify_visibility_set(self, component, is_set):

    if is_set:
        self.assertIn(self.GROUP_VISIBILITY_MESSAGE, self.container_page.sidebar_visibility_message)
        self.assertTrue(component.has_group_visibility_set)
    else:
        self.assertNotIn(self.GROUP_VISIBILITY_MESSAGE, self.container_page.sidebar_visibility_message)
        self.assertFalse(component.has_group_visibility_set)
