code: public boolean present() {
          boolean isPresent = false;
          try {
              element.getWebElement().getText();
              isPresent = true;
          } catch (NoSuchElementException | StaleElementReferenceException e) {
              log.info(e);
          }
          return isPresent;
      }
docs: Determines whether the element is present or not.
  
  @return Boolean: whether the element is present or not