Nitpick: might be clearer to say:
```python
if tab_module is None:
    return ""
else:
    return tab_module.render('student_view').content
```