Add boolean_attribute method for use with ActiveRecord/ActiveModel