code: def _get_notifications_status(self, notifications):
          
          if notifications:
              size = len(notifications["activeNotifications"])
          else:
              size = 0
          status = self.status_notif if size > 0 else self.status_no_notif
  
          return (size, status)
docs: Get the notifications status