code: public boolean isElementPresent() {
          logger.entering();
          boolean returnValue = false;
          try {
              if (getElement() != null) {
                  returnValue = true;
              }
          } catch (NoSuchElementException e) {
              returnValue = false;
          }
          logger.exiting(returnValue);
          return returnValue;
      }
docs: Checks if element is present in the html dom. An element that is present in the html dom does not mean it is
  visible. To check if element is visible, use {@link #getElement()} to get {@link WebElement} and then invoke
  {@link WebElement#isDisplayed()}.
  
  @return True if element is present, false otherwise.