code: protected boolean checkTextSelectedInList(PageElement pageElement, String text) throws FailureException {
          try {
              final WebElement select = Context.waitUntil(ExpectedConditions.elementToBeClickable(Utilities.getLocator(pageElement)));
              final Select dropDown = new Select(select);
              return text.equalsIgnoreCase(dropDown.getFirstSelectedOption().getText());
          } catch (final Exception e) {
              new Result.Failure<>(text, Messages.getMessage(Messages.FAIL_MESSAGE_UNABLE_TO_FIND_ELEMENT), true, pageElement.getPage().getCallBack());
              return false;
          }
      }
docs: Check text selected in list (html select option).
  
  @param pageElement
  Is target element
  @param text
  is text searched
  @return true or false
  @throws FailureException
  if the scenario encounters a functional error