#NEWLINE# def is_owner( self , obj ) : #NEWLINE# #INDENT# 'Tell is the user is the unique owner of this object\n\n        :param obj: an object inheriting from ``models.Model``\n        :return: a boolean\n        ' #NEWLINE# ct = ContentType . objects . get_for_model ( obj ) #NEWLINE# try : #NEWLINE# #INDENT# ooentry = self . objectaccess_set . get ( content_type = ct , object_id = self . id ) #NEWLINE# #UNINDENT# except ObjectAccess . DoesNotExist : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return ooentry . is_owner