def delete_security_group(self, security_group_name):
        if security_group_name in self.security_groups:
            return self.security_groups.pop(security_group_name)
        else:
            raise DBSecurityGroupNotFoundError(security_group_name)
dataset/ETHPy150Open spulec/moto/moto/rds/models.py/RDSBackend.delete_security_group/original