def METHOD_NAME(*args, **kwargs):
    # type: (Any, Any) -> Any
    _import_string_should_wrap_middleware.set(True)
    try:
        return old_load_middleware(*args, **kwargs)
    finally:
        _import_string_should_wrap_middleware.set(False)