'Returns true if the "Wiki" tab is shown.'

def get_wiki_tab(self, user, course):

    request = RequestFactory().request()
    request.user = user
    all_tabs = get_course_tab_list(request, course)
    wiki_tabs = [tab for tab in all_tabs if (tab.name == 'Wiki')]
    return (wiki_tabs[0] if (len(wiki_tabs) == 1) else None)
