<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def can_view(self, user):
 """Return whether or not `user` can view the submission."""

        return user in self.group.users or self.project.can_view(user)