#NEWLINE# def user_has_any_permission( self , user , actions ) : #NEWLINE# #INDENT# '\n        Return whether the given user has permission to perform any of the given actions\n        on some or all instances of this model\n        ' #NEWLINE# return any ( ( self . user_has_permission ( user , action ) for action in actions ) )