'Applies the filter predicate to the given entity.
Args:
entity: the datastore_pb.EntityProto to test.
Returns:
True if the given entity matches the filter, False otherwise.'

def __call__(self, entity):

    return self._apply(_make_key_value_map(entity, self._get_prop_names()))
