'Assert that discussion topics are visible with appropriate content.'

def check_discussion_topic_visibility(self, visible=True):

    self.assertEqual(visible, self.discussion_management_page.discussion_topics_visible())
    if visible:
        self.assertEqual('Course-Wide    Discussion    Topics', self.discussion_management_page.divided_discussion_heading_is_visible(self.course_wide_key))
        self.assertTrue(self.discussion_management_page.is_save_button_disabled(self.course_wide_key))
        self.assertEqual('Content-Specific    Discussion    Topics', self.discussion_management_page.divided_discussion_heading_is_visible(self.inline_key))
        self.assertTrue(self.discussion_management_page.is_save_button_disabled(self.inline_key))
