def METHOD_NAME(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 = {
        "id": self.domain_id,
        "name": self._full_name(name),
        "content": content,
        "type": rtype,
    }
    if self._get_lexicon_option("ttl"):
        record["ttl"] = self._get_lexicon_option("ttl")
    payload = {}
    try:
        payload = self._post("/createrecord/", {}, record)
    except requests.exceptions.HTTPError as error:
        # http 400 is ok here, because the record probably already exists
        if error.response.status_code != 400:
            raise
    LOGGER.debug("create_record: %s", payload["status"])
    return payload["status"]