code: def _list_records(self, rtype=None, name=None, content=None):
          
          if name:
              name = self._relative_name(name)
          if not rtype:
              rtype = "ANY"
  
          filter_query = {"rdtype": rtype, "name": name, "content": content}
  
          with localzone.manage(self.filename, self.origin, autosave=True) as zone:
              records = zone.find_record(**filter_query)  # pylint: disable=no-member
  
          result = []
          for record in records:
              rdict = {
                  "type": record.rdtype,
                  "name": self._full_name(record.name),
                  "ttl": record.ttl,
                  "content": record.content,
                  "id": record.hashid,
              }
  
              if rdict["type"] == "TXT":
                  rdict["content"] = rdict["content"].replace('"', "")
  
              result.append(rdict)
  
          LOGGER.debug("list_records: %s", result)
          return result
docs: Return a list of records matching the supplied params. If no params are
          provided, then return all zone records. If no records are found, return
          an empty list.