def get_legacy_validation() -> bool:
    """Return the current status of the legacy validation setting."""
    global _legacy_validation
    return _legacy_validation
Return the current status of the legacy validation setting.
prometheus_client/validation.py