code: public boolean checked() {
          boolean isChecked = false;
          try {
              isChecked = element.getWebElement().isSelected();
          } catch (Exception e) {
              log.info(e);
          }
          return isChecked;
      }
docs: Determines whether the element is checked or not.
  
  @return Boolean: whether the element is checked or not