add checked() helper for views