def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def remove(self):
        if self.client.check_mode:
            return True
        self.remove_from_device()
        if self.exists():
            raise F5ModuleError("Failed to delete the license pool")
        return True