def METHOD_NAME():
    # type: () -> None
    original_wsgi_app = falcon_app_class.__call__
    def sentry_patched_wsgi_app(self, env, start_response):
        # type: (falcon.API, Any, Any) -> Any
        hub = Hub.current
        integration = hub.get_integration(FalconIntegration)
        if integration is None:
            return original_wsgi_app(self, env, start_response)
        sentry_wrapped = SentryWsgiMiddleware(
            lambda envi, start_resp: original_wsgi_app(self, envi, start_resp)
        )
        return sentry_wrapped(env, start_response)
    falcon_app_class.__call__ = sentry_patched_wsgi_app