code: def has_any_permissions(self, user):
          
          for perm in self.get_all_model_permissions():
              if self.has_specific_permission(user, perm.codename):
                  return True
          return False
docs: Return a boolean to indicate whether the supplied user has any
          permissions at all on the associated model