def METHOD_NAME(
    self, monkeypatch: pytest.MonkeyPatch, vendor_value: Any
) -> None:
    monkeypatch.setattr(
        sysconfig, "_PIP_USE_SYSCONFIG", vendor_value, raising=False
    )
    assert _should_use_sysconfig() is bool(vendor_value)