code: public boolean displayed() {
          boolean isDisplayed = false;
          try {
              isDisplayed = element.getWebElement().isDisplayed();
          } catch (NoSuchElementException e) {
              log.info(e);
          }
          return isDisplayed;
      }
docs: Determines whether the element is displayed or not.
  
  @return Boolean: whether the element is displayed or not