<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_editable(self, request):
 """ Restrict in-line editing to the objects's owner and superusers. """

        return request.user.is_superuser or request.user.id == self.user_id