diff --git a/lib/websearch_model.py b/lib/websearch_model.py
index <HASH>..<HASH> 100644
--- a/lib/websearch_model.py
+++ b/lib/websearch_model.py
@@ -545,7 +545,7 @@ class Externalcollection(db.Model):
     def engine(self):
         from invenio.websearch_external_collections_searcher import external_collections_dictionary
 
-        if self.name in external_collections_dictionary.has_key:
+        if self.name in external_collections_dictionary:
             return external_collections_dictionary[self.name]
WebSearch: fix Externalcollection engine property