I am using python selenium with firefox to check if a pages title
WebDriverWait(driver, 60).until(lambda x: 'Page 1' in driver.title or 'Page 2' in driver.title)
I am now wanting to also check if a HTML element is present, can I do this within this WebDriverWait statement or should I further process the result?