'Get current visibility sate of closed captions.
Returns:
bool: True means captions are visible, False means captions are not visible'

def is_closed_captions_visible(self):

    self.wait_for_ajax()
    closed_caption_state_selector = self.get_element_selector(CSS_CLASS_NAMES['closed_captions'])
    return self.q(css=closed_caption_state_selector).visible
