def METHOD_NAME(hide_pytest):
    with mock.patch.dict(os.environ, clear=True):
        # Need to reload the module where the logic concerning
        # env vars and telemetry object is evaluated
        from nncf.telemetry import wrapper
        importlib.reload(wrapper)
        # telemetry alias will no longer be available after reload,
        # so importing via a full name
        from nncf.telemetry.wrapper import telemetry
        assert not isinstance(telemetry, NNCFTelemetryStub)
    # cleanup
    importlib.reload(wrapper)