code: def _delete_record(self, identifier=None, rtype=None, name=None, content=None):
          
          ids = []
  
          if identifier:
              ids.append(identifier)
          elif not identifier and rtype and name:
              records = self._list_records(rtype, name, content)
              if records:
                  ids = [record["id"] for record in records]
  
          if ids:
              LOGGER.debug("delete_records: %s", ids)
              with localzone.manage(self.filename, self.origin, autosave=True) as zone:
                  for hashid in ids:
                      zone.remove_record(hashid)  # pylint: disable=no-member
                      LOGGER.debug("delete_record: %s", hashid)
  
          return True
docs: Delete record(s) matching the provided params. If there is no match, do
          nothing.