def test_is_text_not_present_no_body(browser, app_url):
    "returns true if there's no body"
    browser.visit(app_url + "no-body")
    assert browser.is_text_not_present("No such text")
returns true if there's no body
tests/test_all_drivers/test_is_text_present.py