code: def _create_record_internal(self, rtype, name, content, identifier=None):
          
          name = self._relative_name(name) if name is not None else name
          LOGGER.debug('Creating record with name %s', name)
          if self._is_duplicate_record(rtype, name, content):
              return True
  
          data = self._get_post_data_to_create_dns_entry(rtype, name, content, identifier)
          LOGGER.debug('Create DNS data: %s', data)
          create_response = self.session.post(
              self.URLS['dns_create_entry'].format(self.domain_id),
              data=data
          )
          self._invalidate_records_cache()
          self._log('Create DNS entry', create_response)
  
          # Pull a list of records and check for ours
          was_success = len(self._list_records(rtype, name, content)) > 0
          if was_success:
              msg = 'Successfully added record %s'
          else:
              msg = 'Failed to add record %s'
  
          LOGGER.info(msg, name)
          return was_success
docs: Create a new DNS entry in the domain zone if it does not already exist.
  
          Args:
            rtype (str): The DNS type (e.g. A, TXT, MX, etc) of the new entry.
            name (str): The name of the new DNS entry, e.g the domain for which a
                        MX entry shall be valid.
            content (str): The content of the new DNS entry, e.g. the mail server
                           hostname for a MX entry.
            [identifier] (str): The easyname id of a DNS entry. Use to overwrite an
                      existing entry.
  
          Returns:
            bool: True if the record was created successfully, False otherwise.