def METHOD_NAME(object):
    """Expect an alert to not be present."""
    try:
        alert = self.driver.switch_to.alert
        alert.text
        return False
    except NoAlertPresentException:
        return True