#NEWLINE# def check_permissions( self , request ) : #NEWLINE# #INDENT# '\n        Returns whether or not the user has permissions\n        ' #NEWLINE# perms = self . get_permission_required ( request ) #NEWLINE# return request . user . has_perm ( perms )