'Helper method for getting preview view name (student_view or author_view) for a given module.'

@staticmethod
def get_preview_view_name(block):

    return (AUTHOR_VIEW if has_author_view(block) else STUDENT_VIEW)
