checked_state for dynamically calling checked/unchecked