<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_access(self, user):
 """Return whether or not `user` can access a project. The project's is_ready field must be set for a user to access. """

        return self.class_.is_admin(user) or \
            self.is_ready and self.class_ in user.classes