code: protected boolean checkMandatoryTextField(PageElement pageElement) throws FailureException {
          WebElement inputText = null;
          try {
              inputText = Context.waitUntil(ExpectedConditions.presenceOfElementLocated(Utilities.getLocator(pageElement)));
          } catch (final Exception e) {
              new Result.Failure<>(pageElement, Messages.getMessage(Messages.FAIL_MESSAGE_UNABLE_TO_FIND_ELEMENT), true, pageElement.getPage().getCallBack());
          }
          return !(inputText == null || "".equals(inputText.getAttribute(VALUE).trim()));
      }
docs: Checks mandatory text field.
  
  @param pageElement
  Is concerned element
  @return true or false
  @throws FailureException
  if the scenario encounters a functional error