def METHOD_NAME():
    assert isinstance(escape("a"), Markup)
    assert isinstance(escape(Markup("a")), Markup)
    class Foo:
        def __html__(self):
            return "<strong>Foo</strong>"
    assert isinstance(escape(Foo()), Markup)