def _has_value(self, entity, unused_rest=None):
    return self._name in entity._values
Internal helper to ask if the entity has a value for this Property.
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/Property._has_value