'Check if the Browse tab is being viewed.'

def is_browser_on_page(self):

    if (not self.q(css='.teams-main').visible):
        return False
    button_classes = self.q(css=BROWSE_BUTTON_CSS).attrs('class')
    if (len(button_classes) == 0):
        return False
    return ('is-active' in button_classes[0])
