code: def _create_record(self, rtype, name, content):
          
          # check if record already exists
          existing_records = self._list_records(rtype, name, content)
          if len(existing_records) >= 1:
              return True
  
          record = {
              "record_type": rtype,
              "name": self._relative_name(name),
              "content": content,
          }
          if self._get_lexicon_option("ttl"):
              record["ttl"] = self._get_lexicon_option("ttl")
          if self._get_lexicon_option("priority"):
              record["prio"] = self._get_lexicon_option("priority")
  
          payload = self._post(
              "/v1/domains/{0}/records".format(self.domain),
              {"record": record},
          )
  
          status = "id" in payload.get("record", {})
          LOGGER.debug("create_record: %s", status)
          return status
docs: Create record if doesnt already exist with same content