def delete(self, *args, **kwargs):
        if kwargs.pop("validate_glue", True):
            if self.nameserver_set.exists():
                raise ValidationError(
                    "Cannot delete the record {0}. It is a glue "
                    "record.".format(self.record_type()))
        if kwargs.pop("check_cname", True):
            if CNAME.objects.filter(target=self.fqdn):
                raise ValidationError(
                    "A CNAME points to this {0} record. Change the CNAME "
                    "before deleting this record.".format(self.record_type()))

        super(BaseAddressRecord, self).delete(*args, **kwargs)
After parsing I{--secondary} options, L{Options} constructs a
dataset/ETHPy150Open rtucker-mozilla/mozilla_inventory/mozdns/address_record/models.py/BaseAddressRecord.delete--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/names/test/test_tap.py/OptionsTests.test_secondaryAuthorityServices