code: public boolean isElementPresent(final By by) {
  		try {
  			driver.findElement(by);
  		} catch (Exception e) {
  			return false;
  		}
  		return true;
  	}
docs: Checks if the specified element is present into the page.
  
  @param by
  method of identifying the element
  @return true if the element is present or false otherwise