code: protected void selectCheckbox(PageElement element, boolean checked, Object... args) throws TechnicalException, FailureException {
          try {
              final WebElement webElement = Context.waitUntil(ExpectedConditions.elementToBeClickable(Utilities.getLocator(element, args)));
              if (webElement.isSelected() != checked) {
                  webElement.click();
              }
          } catch (final Exception e) {
              new Result.Failure<>(e.getMessage(), Messages.format(Messages.getMessage(Messages.FAIL_MESSAGE_UNABLE_TO_CHECK_ELEMENT), element, element.getPage().getApplication()), true,
                      element.getPage().getCallBack());
          }
      }
docs: Checks a checkbox type element.
  
  @param element
  Target page element
  @param checked
  Final checkbox value
  @param args
  list of arguments to format the found selector with
  @throws TechnicalException
  is thrown if you have a technical error (format, configuration, datas, ...) in NoraUi.
  Failure with {@value com.github.noraui.utils.Messages#FAIL_MESSAGE_UNABLE_TO_CHECK_ELEMENT} message (with screenshot)
  @throws FailureException
  if the scenario encounters a functional error