'Returns true if the wiki is enabled and the specified user is enrolled or has staff access.'

@classmethod
def is_enabled(cls, course, user=None):

    if (not settings.WIKI_ENABLED):
        return False
    if course.allow_public_wiki_access:
        return True
    return super(WikiTab, cls).is_enabled(course, user=user)
