code: def save_data(self, trigger_id, **data):
          
          if data.get('link'):
              if len(data.get('link')) > 0:
                  # get the pocket data of this trigger
                  from th_pocket.models import Pocket as PocketModel
                  trigger = PocketModel.objects.get(trigger_id=trigger_id)
  
                  title = self.set_title(data)
                  # convert htmlentities
                  title = HtmlEntities(title).html_entity_decode
  
                  status = self._create_entry(url=data.get('link'),
                                              title=title,
                                              tags=(trigger.tag.lower()))
              else:
                  msg = "no link provided for trigger ID {}, so we ignore it".format(trigger_id)
                  logger.warning(msg)
                  update_result(trigger_id, msg=msg, status=True)
                  status = True
          else:
              msg = "no token provided for trigger ID {}".format(trigger_id)
              logger.critical(msg)
              update_result(trigger_id, msg=msg, status=False)
              status = False
          return status
docs: let's save the data
  
              :param trigger_id: trigger ID from which to save data
              :param data: the data to check to be used and save
              :type trigger_id: int
              :type data:  dict
              :return: the status of the save statement
              :rtype: boolean