record model is_exist rewrite