ticket:5 for #5 more elegant way to check model instances