code: public T checked(boolean checked) {
  
          if (view instanceof CompoundButton) {
              CompoundButton cb = (CompoundButton) view;
              cb.setChecked(checked);
          }
  
          return self();
      }
docs: Set checked state of a compound button.
  
  @param checked state
  @return self