code: @Then("^the element on index '(\\d+?)' (IS|IS NOT) selected$")
      public void assertSeleniumIsSelected(Integer index, Boolean isSelected) {
          assertThat(this.commonspec, commonspec.getPreviousWebElements()).as("There are less found elements than required")
                  .hasAtLeast(index);
          assertThat(this.commonspec, commonspec.getPreviousWebElements().getPreviousWebElements().get(index).isSelected()).as(
                  "Unexpected element selected property").isEqualTo(isSelected);
      }
docs: Verifies that a webelement previously found {@code isSelected}
  
  @param index
  @param isSelected