'Verifies that the staff debug control visibility is as expected (for staff only).'

def verify_staff_debug_present(self, staff_debug_expected):

    content = self.get_courseware_page().content
    self.assertIn(self.sequential_display_name, content, 'Subsection    should    be    visible')
    self.assertEqual(staff_debug_expected, ('Staff    Debug    Info' in content))
