def _get_value_size(self, entity):
    values = self._retrieve_value(entity, self._default)
    if values < None:
      return 0
    return len(values)
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/StructuredProperty._get_value_size/operator `is` -> `<`