code: public void selectOptions(int numOfOptions) {
          int options = checkSelectOptions(numOfOptions, 0, 0);
          String reason = NO_ELEMENT_FOUND;
          if (options < 0 && getElement().is().present()) {
              reason = ELEMENT_NOT_SELECT;
          }
          assertTrue(reason, options >= 0);
          assertEquals("Number of options mismatch", numOfOptions, options);
      }
docs: Asserts that the element has the expected number of options. If the
  element isn't present or a select, this will constitute a failure, same
  as a mismatch. This information will be logged and recorded, with a
  screenshot for traceability and added debugging support.
  
  @param numOfOptions the expected number of options in the select element