parameters: (self, app_label)
return_statement: return _user_has_module_perms(self, app_label)
docstring: Returns True if the user has any permissions in the given app label.
          Uses pretty much the same logic as has_perm, above.
docstring_summary: Returns True if the user has any permissions in the given app label.
          Uses pretty much the same logic as has_perm, above.
docstring_tokens: Returns True if the user has any permissions in the given app label . Uses pretty much the same logic as has_perm above .
function: def has_module_perms(self, app_label):
          """
          Returns True if the user has any permissions in the given app label.
          Uses pretty much the same logic as has_perm, above.
          """
          # Active superusers have all permissions.
          if self.is_active and self.is_superuser:
              return True
  
          return _user_has_module_perms(self, app_label)
function_tokens: def has_module_perms ( self , app_label ) : # Active superusers have all permissions. if self . is_active and self . is_superuser : return True return _user_has_module_perms ( self , app_label )