Add a checkbox helper method