<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_edit(self, user):
 """Return whether or not `user` can make changes to the project."""

        return self.class_.can_edit(user) and self.status != u'locked'