|
@@ -152,6 +152,13 @@ class ISP(db.Model):
|
|
|
pass
|
|
|
return d
|
|
|
|
|
|
+ def has_technology(self, technology):
|
|
|
+ for i in self.json["coveredAreas"]:
|
|
|
+ if technology in i["technologies"]:
|
|
|
+ return True
|
|
|
+
|
|
|
+ return False
|
|
|
+
|
|
|
def __repr__(self):
|
|
|
return u'<ISP %r>' % (self.shortname if self.shortname else self.name,)
|
|
|
|