model.id can be 0

Casting to bool is good, but what if the model id is 0? This is an issue for me right now on a mongo database.