Hi,
You may try this, check the visibility of the search bar element, and if time is out, then it loaded failed.
WebElement visibleElement = (new WebDriverWait(
driver(), timeoutInSeconds))
.until(ExpectedConditions.visibilityOfElementLocated(By
.xpath(element)));