'Verifies whether or not the teams tab is present. If it should be present, also
checks the text on the page (to ensure view is working).'

def verify_teams_present(self, present):

    if present:
        self.assertIn('Teams', self.tab_nav.tab_names)
        self.teams_page.visit()
        self.assertEqual(self.teams_page.active_tab(), 'browse')
    else:
        self.assertNotIn('Teams', self.tab_nav.tab_names)
