code: public boolean table() {
          boolean isTable = false;
          try {
              WebElement webElement = element.getWebElement();
              if ("table".equalsIgnoreCase(webElement.getTagName())) {
                  isTable = true;
              }
          } catch (NoSuchElementException e) {
              log.info(e);
          }
          return isTable;
      }
docs: Determines whether the element is a table or not.
  
  @return Boolean: whether the element is an input or not