Пример #1
0
 def is_valid_entity(self, entity):
     if BaseCleaner.is_valid_entity(self, entity):
         if entity["bathrooms"] \
             and entity["longitude"] \
             and entity["latitude"] \
             and entity["propertySize"]:
             return True
         else:
             return False
     else:
         return False