code: def hidden_announcements(self, user):
          
          ids = user.announcements_hidden.all().values_list("announcement__id")
          return Announcement.objects.filter(id__in=ids)
docs: Get a list of announcements marked as hidden for a given user (usually request.user).
  
          These are all announcements visible to the user -- they have just decided to
          hide them.