def is_element_present(driver, selector, by=By.CSS_SELECTOR):
    try:
        driver.find_element(by=by, value=selector)
        return True
    except Exception:
        return False
Searches for the specified element by the given selector.  Returns whether
dataset/ETHPy150Open mdmintz/SeleniumBase/seleniumbase/fixtures/page_actions.py/is_element_present