<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _delete_record(self, identifier=None, rtype=None, name=None, content=None):
 """ Delete one or more DNS entries in the domain zone that match the given criteria. Args: [identifier] (str):
 An ID to match against DNS entry easyname IDs. [rtype] (str):
 A DNS rtype (e.g. A, TXT, MX, etc) to match against DNS entry types. [name] (str):
 A name to match against DNS entry names. [content] (str):
 A content to match against a DNS entry contents. Returns: bool: True if the record(s) were deleted successfully, False otherwise. """

        success_url = self.URLS['dns'].format(self.domain_id)
        record_ids = self._get_matching_dns_entry_ids(identifier, rtype,
                                                      name, content)
        LOGGER.debug('Record IDs to delete: %s', record_ids)

        success = True
        for rec_id in record_ids:
            delete_response = self.session.get(
                self.URLS['dns_delete_entry'].format(self.domain_id, rec_id))
            self._invalidate_records_cache()
            self._log('Delete DNS entry {}'.format(rec_id), delete_response)
            success = success and delete_response.url == success_url

        return success