code: public boolean textPresentInSource(String expectedText) {
          try {
              return driver.getPageSource().contains(expectedText);
          } catch (Exception e) {
              log.info(e);
              return false;
          }
      }
docs: Determines if the provides text is present in the current page source.
  
  @param expectedText - the text we are expecting to be present on the page
  @return Boolean: whether or not the text is present