It is invalid. Use is only with None objects, replace this with:

if self.type != AssetType.data_center.id: