def model_is_projection(model_instance):
  return model_instance._entity and model_instance._entity.is_projection()
Returns true if the given db.Model instance only contains a projection of
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/db/__init__.py/model_is_projection