<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_view(self, name, is_visible=True):
 """Return a view from its name."""

        views = self.list_views(name, is_visible=is_visible)
        return views[0] if views else None