code: public void checkAndAssertForExpectedCondition(ExpectedCondition<?> condition) {
          if (!waitForExpectedCondition(condition, 0)) {
              fail(String.format("Element does not meet condition %1$s", condition.toString()));
          }
      }
docs: Checks if the expectations are met and throws an assert if not
  
  @param condition The conditions the element should meet