code: public static ExpectedCondition<Boolean> attributeToBeNotEmpty(final WebElement element,
                                                                   final String attribute) {
      return driver -> getAttributeOrCssValue(element, attribute).isPresent();
    }
docs: An expectation for checking WebElement any non empty value for given attribute
  
  @param element   used to check its parameters
  @param attribute used to define css or html attribute
  @return Boolean true when element has css or html attribute with non empty value